Commit 39b6c348 authored by liao_ds's avatar liao_ds

Merge remote-tracking branch 'origin/v2' into v2

parents 751b7775 1cdeb106
......@@ -173,6 +173,14 @@ public class ExpertExtractRecordServiceImpl implements IExpertExtractRecordServi
}
ExpertExtract expertExtract = expertExtractRecord.getExpertExtract();
InviteTender inviteTender = expertExtract.getInviteTender();
if(inviteTender != null){
long evaluationStartTime = inviteTender.getEvaluationStartTime();
long evaluationEndTime = inviteTender.getEvaluationEndTime();
long now = System.currentTimeMillis();
if(evaluationStartTime > now || evaluationEndTime < now){
throw new BusinessException(ResponseCode.PURCHASE_INVITE_TENDER_Evaluation_TIME);
}
//评标内容
List<SubmitTenderOutCheckRecord> submitTenderOutCheckRecordList = new ArrayList();
List<EvaluationTenderRequest> evaluationTenderRequestList = expertEvaluationTenderRequest.getEvaluationTenderList();
......@@ -252,6 +260,9 @@ public class ExpertExtractRecordServiceImpl implements IExpertExtractRecordServi
//投标会员内部状态
submitTenderOutCheckRecordRepository.saveAll(submitTenderOutCheckRecordList);
return "设置成功";
}else{
throw new BusinessException(ResponseCode.PURCHASE_INVITE_TENDER_NOT_EXIST);
}
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment