调整在场车辆查询
parent
85e8aaf717
commit
2279385420
|
|
@ -128,12 +128,13 @@ public class TransportService extends BaseService {
|
||||||
" select t.truck_license, t.ordercluster_id from (\n" +
|
" select t.truck_license, t.ordercluster_id from (\n" +
|
||||||
" select t.truck_license, max(c.id) ordercluster_id from ordercluster_truck t\n" +
|
" select t.truck_license, max(c.id) ordercluster_id from ordercluster_truck t\n" +
|
||||||
" left join ordercluster c on t.ordercluster_id = c.id\n" +
|
" left join ordercluster c on t.ordercluster_id = c.id\n" +
|
||||||
" where c.start_time <= ? \n" +
|
" where c.state < 5 \n" +
|
||||||
|
" and c.start_time <= ? \n" +
|
||||||
" and c.cutoff_time >= ? \n" +
|
" and c.cutoff_time >= ? \n" +
|
||||||
" group by t.truck_license\n" +
|
" group by t.truck_license\n" +
|
||||||
" ) t\n" +
|
" ) t\n" +
|
||||||
" ) a on a.truck_license = t.truck_license\n" +
|
" ) a on a.truck_license = t.truck_license\n" +
|
||||||
" left join ordercluster c on a.ordercluster_id = c.id\n" +
|
" left join ordercluster c on a.ordercluster_id = c.id and c.state < 5 \n" +
|
||||||
" where t.state < 5\n" +
|
" where t.state < 5\n" +
|
||||||
" and t.supermarket_id = ? \n" +
|
" and t.supermarket_id = ? \n" +
|
||||||
" order by t.flag, t.out_time desc ";
|
" order by t.flag, t.out_time desc ";
|
||||||
|
|
|
||||||
|
|
@ -103,7 +103,7 @@ public class Config extends JFinalConfig {
|
||||||
public static DeviceThread deviceThread = new DeviceThread();
|
public static DeviceThread deviceThread = new DeviceThread();
|
||||||
public static SocketIOService socketio = null;
|
public static SocketIOService socketio = null;
|
||||||
private static boolean client_run = true;
|
private static boolean client_run = true;
|
||||||
public static final String CLINET_VERSION = "20211016";
|
public static final String CLINET_VERSION = "20211022";
|
||||||
|
|
||||||
public static String getRootPath() {
|
public static String getRootPath() {
|
||||||
return PathKit.getWebRootPath()
|
return PathKit.getWebRootPath()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue