Commit 36130edd authored by huyuchen's avatar huyuchen

huych-合同自动化代码提交

parent e0177976
......@@ -711,7 +711,7 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
}
//是否已签署为否需要判断是否在用或者流程中的合同
if ((CommonConstants.ONE_STRING.equals(employeeContractPreVo.getContractFlag()) || Common.isEmpty(employeeContractPreVo.getContractFlag())) && flag) {
return R.failed("该项目下存在在途/有效的合同数据");
return R.failed("该人员已存在审核中或已签署的合同,请勿重复发起签署!");
}
if (CommonConstants.ONE_STRING.equals(employeeContractPreVo.getContractFlag()) || Common.isEmpty(employeeContractPreVo.getContractFlag())) {
initContractPreInfo(employeeRegistrationPre,employeeContractPreVo, user, id);
......
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