Commit 179eb294 authored by fangxinjiang's avatar fangxinjiang

代码优化-fxj

parent 3ce691ce
......@@ -264,7 +264,7 @@ public class TEmployeeContractPreNewServiceImpl extends ServiceImpl<TEmployeeCon
LocalDate reminderDate = LocalDateUtil.parseLocalDate(DateUtil.dateToString(preVo.getContractStart(), DateUtil.ISO_EXPANDED_DATE_FORMAT));
LocalDate nowDate = LocalDate.now();
if (null != nowDate && nowDate.isAfter(reminderDate.plusMonths(1))){
return R.failed(EmployeeConstants.DATA_CONTRACT_EXPECTED_SIGN_TIME_ERROR);
return R.failed(EmployeeConstants.DATA_CONTRACT_EXPECTED_SIGN_TIME_ERROR_TWO);
}
}
////如果电子签是系统自动撤销对应的签署方式必须更新为 线下签
......
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