|
|
@@ -126,10 +126,10 @@ public class CaseNumServiceImpl extends ServiceImpl<ICaseNumMapper, CaseNumEntit
|
|
|
List<CaseNumEntity> list = this.list(wrapper);
|
|
|
|
|
|
List<String> hanNumList = list.stream().map(CaseNumEntity::getNum).collect(Collectors.toList());
|
|
|
- List<String> delList = new ArrayList<>();
|
|
|
for (String num : hanNumList) {
|
|
|
if(!numList.contains(num)){
|
|
|
- delList.add(num);
|
|
|
+ delMap.computeIfAbsent(param.getType(), k -> new ArrayList<>());
|
|
|
+ delMap.get(param.getType()).add(num);
|
|
|
}
|
|
|
}
|
|
|
for (String num : numList) {
|
|
|
@@ -138,9 +138,6 @@ public class CaseNumServiceImpl extends ServiceImpl<ICaseNumMapper, CaseNumEntit
|
|
|
addMap.get(param.getType()).add(num);
|
|
|
}
|
|
|
}
|
|
|
- if(!delList.isEmpty()){
|
|
|
- delMap.put(param.getType(),delList);
|
|
|
- }
|
|
|
}
|
|
|
if(!delMap.isEmpty()){
|
|
|
for (Integer type : delMap.keySet()) {
|