[user3] hace 4 años
padre
commit
2bb69d4d7b

+ 11 - 2
src/main/java/com/jeeplus/modules/sg/financial/settlement/service/CostCheckService.java

@@ -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;
 	}
+
+	private List<String> returnOnly(List<String> notExitList) {
+		HashSet a = new HashSet(notExitList);
+		notExitList.clear();
+		notExitList.addAll(a);
+		return notExitList;
+	}
 }