Commit ca82f614 by levphon

添加车牌号

1 parent 10c008ef
...@@ -11,6 +11,7 @@ public class VehicleDeviceDTO { ...@@ -11,6 +11,7 @@ public class VehicleDeviceDTO {
private Long id; private Long id;
private String vin; private String vin;
private String ownerName; private String ownerName;
private String licensePlate;
private String workOrderNo; private String workOrderNo;
private String sns; private String sns;
private String sources; private String sources;
......
...@@ -12,6 +12,7 @@ public class VehicleSharedDTO { ...@@ -12,6 +12,7 @@ public class VehicleSharedDTO {
private Long vehicleId; private Long vehicleId;
private String vin; private String vin;
private String ownerName; private String ownerName;
private String licensePlate;
private String workOrderNo; private String workOrderNo;
private String sns; private String sns;
private String sources; private String sources;
......
...@@ -62,6 +62,7 @@ ...@@ -62,6 +62,7 @@
<select id="vehicleSearch" resultType="cn.com.glsx.app.modules.model.view.VehicleDeviceDTO"> <select id="vehicleSearch" resultType="cn.com.glsx.app.modules.model.view.VehicleDeviceDTO">
select tv.id as id, tv.vin, select tv.id as id, tv.vin,
tv.owner_name ownerName, tv.owner_name ownerName,
tv.license_plate licensePlate,
tw.partner_order_no workOrderNo, tw.partner_order_no workOrderNo,
group_concat(tvd.sn) as sns, group_concat(tvd.sn) as sns,
group_concat(td.source) as sources group_concat(td.source) as sources
...@@ -90,6 +91,7 @@ ...@@ -90,6 +91,7 @@
tv.id as vehicleId, tv.id as vehicleId,
tv.vin, tv.vin,
tv.owner_name as ownerName, tv.owner_name as ownerName,
tv.license_plate licensePlate,
tw.partner_order_no workOrderNo, tw.partner_order_no workOrderNo,
group_concat(distinct td.sn order by td.source desc) as sns, group_concat(distinct td.sn order by td.source desc) as sns,
group_concat(distinct td.source order by td.source desc) as sources, group_concat(distinct td.source order by td.source desc) as sources,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!