Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-trialdrive-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5cffb5e2
authored
Dec 24, 2021
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
设置离线报警设备类型
1 parent
69e2b776
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
12 deletions
src/main/java/cn/com/glsx/admin/modules/model/export/OfflineExport.java
src/main/resources/mapper/VehicleMapper.xml
src/main/java/cn/com/glsx/admin/modules/model/export/OfflineExport.java
View file @
5cffb5e
...
@@ -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
;
...
...
src/main/resources/mapper/VehicleMapper.xml
View file @
5cffb5e
...
@@ -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
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment