Commit b952da55 authored by fangxinjiang's avatar fangxinjiang

劳务派遣合同限制-fxj

parent c3b692e5
...@@ -703,7 +703,7 @@ public class TEmployeeContractPreNewServiceImpl extends ServiceImpl<TEmployeeCon ...@@ -703,7 +703,7 @@ public class TEmployeeContractPreNewServiceImpl extends ServiceImpl<TEmployeeCon
} }
// 如果有错误信息,一起返回 // 如果有错误信息,一起返回
if (!errorMessages.isEmpty()) { if (!errorMessages.isEmpty()) {
return String.join(";", errorMessages); return "合同的年限、开始日期、截止日期同派遣的期限、开始日期、截止日期不一致,请调整!";
} }
} }
//同商务合同一直 要 验证时间 截止时间大于等于开始时间、时间交叉 //同商务合同一直 要 验证时间 截止时间大于等于开始时间、时间交叉
......
...@@ -1295,7 +1295,7 @@ public class EmployeeRegistrationServiceImpl extends ServiceImpl<EmployeeRegistr ...@@ -1295,7 +1295,7 @@ public class EmployeeRegistrationServiceImpl extends ServiceImpl<EmployeeRegistr
} }
// 如果有错误信息,一起返回 // 如果有错误信息,一起返回
if (!allErrorMessages.isEmpty()) { if (!allErrorMessages.isEmpty()) {
return String.join(";", allErrorMessages); return "合同的年限、开始日期、截止日期同派遣的期限、开始日期、截止日期不一致,请调整!";
} }
return null; return null;
} }
......
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