审核订单取消申请接口修改

dev
徐杰盟 2024-04-17 10:30:47 +08:00
parent bdcd7f0769
commit 379fe41118
1 changed files with 11 additions and 1 deletions

View File

@ -610,7 +610,17 @@ public class SyncTaskService {
for (Record o : list) { for (Record o : list) {
String id = o.getStr("id"); String id = o.getStr("id");
Record first = Db.findFirst("select * from " + tablename + " where id = ?", id); Record first = Db.findFirst("select * from " + tablename + " where id = ?", id);
if (o.toJson().equals(first.toJson())) { boolean equals = o.toJson().equals(first.toJson());
System.out.println();
System.out.println();
System.out.println(equals);
System.out.println(JSONObject.toJSONString(o));
System.out.println(JSONObject.toJSONString(first));
System.out.println();
System.out.println();
if (equals) {
removeList.add(o); removeList.add(o);
} }
} }