审核订单取消申请接口修改
parent
bdcd7f0769
commit
379fe41118
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue