|
@@ -271,8 +271,17 @@ public class CostCheckService extends CrudService<CostCheckMapper, CostCheck> {
|
|
//验证不通过
|
|
//验证不通过
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- hashMap.put("notExit", notExitList);
|
|
|
|
- hashMap.put("notPass", notPassList);
|
|
|
|
|
|
+ List<String> strings = returnOnly(notExitList);
|
|
|
|
+ List<String> strings1 = returnOnly(notPassList);
|
|
|
|
+ hashMap.put("notExit", strings);
|
|
|
|
+ hashMap.put("notPass", strings1);
|
|
return hashMap;
|
|
return hashMap;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ private List<String> returnOnly(List<String> notExitList) {
|
|
|
|
+ HashSet a = new HashSet(notExitList);
|
|
|
|
+ notExitList.clear();
|
|
|
|
+ notExitList.addAll(a);
|
|
|
|
+ return notExitList;
|
|
|
|
+ }
|
|
}
|
|
}
|