重新评审接口同步评审分工接口增加时间参数(开始时间,结束时间)

This commit is contained in:
dxc
2021-07-28 16:48:38 +08:00
parent b85b9ae316
commit d89822073e
2 changed files with 8 additions and 2 deletions

View File

@ -8,6 +8,7 @@ import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;
@ -31,11 +32,15 @@ public interface EbtpRsmsApi {
* 复制评委会成员信息
* @param oldRoomId 被复制的评审室ID
* @param newRoomId 新的评审室ID
* @param startTime 开始时间
* @param endTime 结束时间
* @return 返回结果
*/
@GetMapping("/v1/jury/copy")
BaseResponse<Boolean> copyJury(@RequestParam(name = "oldRoomId") String oldRoomId,
@RequestParam(name = "newRoomId") String newRoomId);
@RequestParam(name = "newRoomId") String newRoomId,
@RequestParam(name = "startTime") LocalDateTime startTime,
@RequestParam(name = "endTime") LocalDateTime endTime);
/**
* 根据标段ID集合查询是否能够发起异常处理

View File

@ -418,7 +418,8 @@ public class ProjectReEvaluationServiceImpl extends BaseServiceImpl<ProjectReEva
//是否专家与上次一致 如果 是 进行复制
if(StringUtils.equals(ProjectCommonUtil.IS_AGREEMENT_YES,evaluation.getIsAgreement())){
BaseResponse<Boolean> juryResponse = ebtpRsmsApi.copyJury(evaluation.getAssessId(),againRoomVO.getRoomId());
BaseResponse<Boolean> juryResponse = ebtpRsmsApi.copyJury(evaluation.getAssessId(),againRoomVO.getRoomId(),
evaluation.getEvaluationStartTime(),evaluation.getEvaluationEndTime());
ProjectExceptionEnum.FRAME_EXCEPTION_ERROR.customValidName(juryResponse.getMessage(),!juryResponse.isSuccess());
}