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

dev
徐杰盟 2024-04-17 11:48:34 +08:00
parent cefb7219a9
commit 453b36e775
1 changed files with 14 additions and 0 deletions

View File

@ -640,6 +640,20 @@ public class SyncTaskService {
}
}
if ("modify_log".equals(tablename)) {
// id
for (Record o : list) {
String id = o.getStr("id");
Record first = Db.findFirst("select * from " + tablename + " where id = ?", id);
if (first != null ) {
Redis.use().set(Config.dbprop.get("redis.basekey") + Const.REDIS_SEPARATE+"主键冲突:" + tablename + ":" + id, JSONObject.toJSONString(o));
removeList.add(o);
}
}
}
if (CollectionUtils.isNotEmpty(removeList)) {
list.removeAll(removeList);
}