Commit e85346a7 authored by hongguangwu's avatar hongguangwu

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

parent 6bca6186
...@@ -1494,7 +1494,9 @@ public class EmployeeRegistrationLeaveServiceImpl extends ServiceImpl<EmployeeRe ...@@ -1494,7 +1494,9 @@ public class EmployeeRegistrationLeaveServiceImpl extends ServiceImpl<EmployeeRe
isReturn = true; isReturn = true;
} }
} }
if (logList != null && !logList.isEmpty()) {
leaveLogService.saveBatch(logList); leaveLogService.saveBatch(logList);
}
this.updateBatchById(leaveList); this.updateBatchById(leaveList);
if (isReturn) { if (isReturn) {
return R.failed(leaveList, "发起失败!"); return R.failed(leaveList, "发起失败!");
......
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