Commit 8ff62bc3 authored by hongguangwu's avatar hongguangwu

MVP1.7.17-离职待办-优化代码

parent a882323a
......@@ -1466,7 +1466,10 @@ public class EmployeeRegistrationLeaveServiceImpl extends ServiceImpl<EmployeeRe
// 1社保2公积金3商险4合同5项目档案6人员档案
List<EmployeeRegistrationLeaveLog> logList = new ArrayList<>();
EmployeeRegistrationLeaveLog leaveLog;
String preContent = "立即发起:";
String preContent = "立即发起全部日期的事项:";
if (Common.isNotNull(isExit) && isExit.equals(CommonConstants.ONE_STRING)) {
preContent += "立即发起今日及之前的事项:";
}
if (Common.isNotNull(doType)) {
String[] doTypeArray = doType.split(",");
StringBuilder subType = new StringBuilder();
......@@ -1480,11 +1483,6 @@ public class EmployeeRegistrationLeaveServiceImpl extends ServiceImpl<EmployeeRe
} else {
preContent = "全部事项";
}
if (Common.isNotNull(isExit) && isExit.equals(CommonConstants.ONE_STRING)) {
preContent += ",仅发起日期为今日及之前的事项";
} else {
preContent += ",且发起全部日期的事项";
}
// 是否返回前端错误信息
boolean isReturn = false;
......
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