重新评审接口同步评审分工接口增加时间参数(开始时间,结束时间)
This commit is contained in:
@ -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集合查询是否能够发起异常处理
|
||||
|
@ -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());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user