lisai17@sina.com 2020-12-28 23:19:50 +08:00
parent 80861ce523
commit a62ec3f74d
1 changed files with 1 additions and 5 deletions

View File

@ -149,8 +149,6 @@ public class InvoiceUseService {
list = Db.find(ordsql + " order by t.create_time", paramord.toArray());
}
} else {
paramlog.addAll(paramord);
List<Record> l1 = Db.find(logsql + " order by t.create_time", paramlog.toArray());
List<Record> l2 = Db.find(ordsql + " order by t.create_time", paramord.toArray());
@ -168,10 +166,8 @@ public class InvoiceUseService {
}
for(Map.Entry<String, Record> entry : map2.entrySet()){
if(map1.containsKey(entry.getKey())){
map1.remove(entry.getKey()); // 从 map1 中移除相同的
}
}
map2.putAll(map1); // 剩下的不同的全部加到 map2 中