Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-miniappserver
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 744be824
authored
Aug 05, 2022
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
报警查询返回车牌号
1 parent
39759268
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
3 deletions
src/main/java/cn/com/glsx/app/modules/model/view/FenceAlarmVO.java
src/main/java/cn/com/glsx/app/modules/model/view/OfflineAlarmVO.java
src/main/java/cn/com/glsx/app/modules/model/view/TrackAlarmVO.java
src/main/resources/mapper/AlarmElectricFenceMapper.xml
src/main/resources/mapper/DeviceLocationMapper.xml
src/main/resources/mapper/VehicleMapper.xml
src/main/java/cn/com/glsx/app/modules/model/view/FenceAlarmVO.java
View file @
744be82
...
...
@@ -54,4 +54,10 @@ public class FenceAlarmVO {
*/
@ApiModelProperty
(
"车辆ID"
)
private
Long
vehicleId
;
/**
* 车牌号
*/
@ApiModelProperty
(
"车牌号"
)
private
String
licensePlate
;
}
src/main/java/cn/com/glsx/app/modules/model/view/OfflineAlarmVO.java
View file @
744be82
...
...
@@ -54,4 +54,10 @@ public class OfflineAlarmVO {
*/
@ApiModelProperty
(
"车辆ID"
)
private
String
vehicleId
;
/**
* 车牌号
*/
@ApiModelProperty
(
"车牌号"
)
private
String
licensePlate
;
}
src/main/java/cn/com/glsx/app/modules/model/view/TrackAlarmVO.java
View file @
744be82
...
...
@@ -54,4 +54,10 @@ public class TrackAlarmVO {
*/
@ApiModelProperty
(
"车辆id"
)
private
Long
vehicleId
;
/**
* 车牌号
*/
@ApiModelProperty
(
"车牌号"
)
private
String
licensePlate
;
}
src/main/resources/mapper/AlarmElectricFenceMapper.xml
View file @
744be82
...
...
@@ -45,7 +45,8 @@
tv.vin as vin,
tvd.sn as sn,
tv.created_date as activeDate,
taef.alarm_time as alarmTime
taef.alarm_time as alarmTime,
tv.license_plate as licensePlate
from t_alarm_electric_fence taef
left join t_vehicle_device tvd on tvd.id = taef.vd_id
left join t_device td on td.sn = tvd.sn
...
...
src/main/resources/mapper/DeviceLocationMapper.xml
View file @
744be82
...
...
@@ -32,7 +32,8 @@
tv.vin as vin,
tvd.created_date as activeDate,
tdl.last_gps_time as lastGpsTime,
tdl.last_bs_time as lastBsTime
tdl.last_bs_time as lastBsTime,
tv.license_plate as licensePlate
from t_vehicle tv
left join t_vehicle_device tvd on tvd.vehicle_id = tv.id
left join t_device td on td.sn = tvd.sn
...
...
src/main/resources/mapper/VehicleMapper.xml
View file @
744be82
...
...
@@ -167,7 +167,8 @@
select tv.id as vehicleId,
tv.owner_name as ownerName,
tv.vin,
tvd.sn
tvd.sn,
tv.license_plate as licensePlate
from t_vehicle tv
left join t_vehicle_device tvd on tvd.vehicle_id = tv.id
where tv.del_flag = 0
...
...
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