转结黑名单

dev
lisai17@sina.com 2020-11-15 22:38:12 +08:00
parent 69c742c00f
commit 193b38cc4e
1 changed files with 15 additions and 0 deletions

View File

@ -1170,6 +1170,21 @@ public class OrderclusterSyncService extends BaseSyncService {
delmap.put(truck_license, i);
}
List<Blacklist> list = Blacklist.dao.find(
"select * from blacklist \n" +
" where remove_user_id is null \n" +
" and truck_license in (" + StrKit.join(tsql, ",") + ")", ts.toArray());
if (list != null && !list.isEmpty()) {
List<String> outts = new ArrayList<>();
for (Blacklist bl : list) {
outts.add(bl.getTruckLicense());
}
return Result.failed(StrKit.join(outts, ",") + " 车牌号在黑名单中");
}
ts.add(0, cutoff_time); // 加到查询参数里面
ts.add(0, ordercluster_id); // 加到查询参数里面
List<Record> chkduk = Db.find(