Commit 14049543 authored by hongguangwu's avatar hongguangwu

MVP1.7.17-离职待办-派单暂存

parent beaccd54
...@@ -1560,11 +1560,11 @@ public class EmployeeRegistrationLeaveServiceImpl extends ServiceImpl<EmployeeRe ...@@ -1560,11 +1560,11 @@ public class EmployeeRegistrationLeaveServiceImpl extends ServiceImpl<EmployeeRe
Map<String, Integer> insuranceMap = new HashMap<>(); Map<String, Integer> insuranceMap = new HashMap<>();
if (CommonConstants.THREE_STRING.equals(doType)) { if (CommonConstants.THREE_STRING.equals(doType)) {
leaveList = baseMapper.selectLeaveListByHandleAndInsuranceType(idList); leaveList = baseMapper.selectLeaveListByHandleAndInsuranceType(idList);
} else {
leaveList = baseMapper.selectLeaveListByHandleAndType(idList, doType);
for (String id:idList) { for (String id:idList) {
insuranceMap.put(id, CommonConstants.ONE_INT); insuranceMap.put(id, CommonConstants.ONE_INT);
} }
} else {
leaveList = baseMapper.selectLeaveListByHandleAndType(idList, doType);
} }
if (leaveList != null && !leaveList.isEmpty()) { if (leaveList != null && !leaveList.isEmpty()) {
List<EmployeeRegistrationLeaveInsurance> insuranceList; List<EmployeeRegistrationLeaveInsurance> insuranceList;
......
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