Commit 5cffb5e2 by 杨林龙

设置离线报警设备类型

1 parent 69e2b776
...@@ -46,10 +46,21 @@ public class OfflineExport { ...@@ -46,10 +46,21 @@ public class OfflineExport {
/** /**
* 设备类型 字符串 * 设备类型 字符串
*/ */
@ExcelProperty("设备类型") @ExcelProperty("设备型号")
private String deviceTypeStr; private String deviceTypeStr;
/** /**
* 设备类型 1有线 0无线
*/
private Integer source;
/**
* 设备类型 1有线 0无线 字符串
*/
@ExcelProperty("设备类型")
private String sourceStr;
/**
* 所属组织店名 * 所属组织店名
*/ */
@ExcelProperty("所属组织") @ExcelProperty("所属组织")
...@@ -74,16 +85,6 @@ public class OfflineExport { ...@@ -74,16 +85,6 @@ public class OfflineExport {
private String lastBsTime; private String lastBsTime;
/** /**
* 设备类型 1有线 0无线
*/
private Integer source;
/**
* 设备类型 1有线 0无线 字符串
*/
private String sourceStr;
/**
* GPS经度 * GPS经度
**/ **/
private String gpsAlarmLng; private String gpsAlarmLng;
......
...@@ -622,7 +622,7 @@ ...@@ -622,7 +622,7 @@
tvd.created_date as activeDate, tvd.created_date as activeDate,
tdl.last_gps_time as lastGpsTime, tdl.last_gps_time as lastGpsTime,
tdl.last_bs_time as lastBsTime, tdl.last_bs_time as lastBsTime,
td.source as source td.source as `source`
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!