Commit 9bf8b85e by 杨林龙

优化最后定位报表的设备类型展示

1 parent a5630770
...@@ -44,6 +44,17 @@ public class FinalPositioningExport { ...@@ -44,6 +44,17 @@ public class FinalPositioningExport {
private String sn; private String sn;
/** /**
* 设备类型 1 有线 0无线
*/
private Integer deviceType;
/**
* 设备类型字符串 1 有线 0无线
*/
@ExcelProperty("设备型号")
private String deviceTypeStr;
/**
* 激活时间 * 激活时间
*/ */
@ExcelProperty("激活时间") @ExcelProperty("激活时间")
......
...@@ -39,7 +39,7 @@ public class OfflineExport { ...@@ -39,7 +39,7 @@ public class OfflineExport {
private String vin; private String vin;
/** /**
* 设备类型 * 设备类型 8:Gps 1:OBD
*/ */
private Integer deviceType; private Integer deviceType;
......
...@@ -525,7 +525,8 @@ ...@@ -525,7 +525,8 @@
tvd.created_date as activeDate, tvd.created_date as activeDate,
tdl.last_gps_time as finalGpsTime, tdl.last_gps_time as finalGpsTime,
tdl.last_bs_time as finalBsTime, tdl.last_bs_time as finalBsTime,
td.source as `source` td.source as `source`,
td.device_type as deviceType
from t_vehicle tv from t_vehicle tv
left join t_vehicle_device tvd on tvd.vehicle_id = tv.id left join t_vehicle_device tvd on tvd.vehicle_id = tv.id
left join t_device td on td.sn = tvd.sn left join t_device td on td.sn = tvd.sn
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!