Commit c7d6c146 by 崔彦峰

modify:移动端新增复核有限引荐数字段。

1 parent 982a49cd
......@@ -135,7 +135,18 @@ public class EffectiveReferralReviewService {
if (referralReviewCommonDTOS.isEmpty()) {
return null;
}
return referralReviewCommonDTOS.get(0);
EffectiveReferralReviewCommonDTO reviewCommonDTO = referralReviewCommonDTOS.get(0);
//2、查询T1时间配置
PerformanceTimeCycleDTO performanceTimeCycleDTO = performanceTimeCycleService.selectByCode(PerformanceTimeCycleCodeEnum.T1.getCode());
if (Objects.nonNull(performanceTimeCycleDTO)
&& performanceTimeCycleDTO.getStartDate() != null
&& performanceTimeCycleDTO.getEndDate() != null
&& reviewCommonDTO.getIsReviewed().equals(0)) {
if (new Date().after(performanceTimeCycleDTO.getEndDate())) {
reviewCommonDTO.setIsReviewed(2);
}
}
return reviewCommonDTO;
}
@Transactional(propagation = Propagation.REQUIRED, rollbackFor = RpcServiceException.class)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!