Commit db56e5d0 authored by hongguangwu's avatar hongguangwu

合同申请提交拦截

parent 1713ffdf
...@@ -168,13 +168,13 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr ...@@ -168,13 +168,13 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
return R.failed(CommonConstants.PLEASE_LOG_IN); return R.failed(CommonConstants.PLEASE_LOG_IN);
} }
// 初始化
this.initEmployeeContract(tEmployeeContractInfo, tEmployeeInfo, tEmployeeProject, user);
// 新增合同拦截: // 新增合同拦截:
R<List<ErrorMessage>> failed = judgeRule(tEmployeeContractInfo); R<List<ErrorMessage>> failed = judgeRule(tEmployeeContractInfo);
if (failed != null) return failed; if (failed != null) return failed;
// 初始化
this.initEmployeeContract(tEmployeeContractInfo, tEmployeeInfo, tEmployeeProject, user);
//是否归档:否 //是否归档:否
tEmployeeContractInfo.setIsFile(CommonConstants.ONE_STRING); tEmployeeContractInfo.setIsFile(CommonConstants.ONE_STRING);
......
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