转结黑名单
parent
69c742c00f
commit
193b38cc4e
|
|
@ -1170,6 +1170,21 @@ public class OrderclusterSyncService extends BaseSyncService {
|
||||||
delmap.put(truck_license, i);
|
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, cutoff_time); // 加到查询参数里面
|
||||||
ts.add(0, ordercluster_id); // 加到查询参数里面
|
ts.add(0, ordercluster_id); // 加到查询参数里面
|
||||||
List<Record> chkduk = Db.find(
|
List<Record> chkduk = Db.find(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue