Commit c2fdeb3c authored by huyuchen's avatar huyuchen

优化修改

parent ef1c7e4f
......@@ -186,7 +186,6 @@ implements TVacationInfoService {
// 初始化人员拓展信息map和假勤类型map
HashMap<String, TBusinessEmployeeExtendInfo> employeeExtentMap= Common.listToHashMapByKey(employeeExtentList, "businessTelecomNumber");
HashMap<String, TBusDept> busDeptMap= Common.listToHashMapByKey(busDeptList, "name");
HashMap<String, ErrorMessage> errorMessageHashMap = Common.listToHashMapByKey(errorMessageList, "line");
int size = list.size();
Map<String,String> sysMap = new HashMap<>();
Map<String,String> dicObj = (Map<String, String>) RedisUtil.redis.opsForValue().get(
......@@ -212,9 +211,8 @@ implements TVacationInfoService {
continue;
}
TBusDept busDept = busDeptMap.get(businessEmployeeExtend.getDepartName());
errorMessage = errorMessageHashMap.get(line + "");
boolean isSave = true;
if (null != errorMessage) {
if (!errorMessageList.isEmpty()) {
continue;
}
if (Common.isEmpty(sysMap.get(dto.getVacationType()))) {
......
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