Commit e2cbb6f7 by 杨林龙

围栏报警新增围栏名称

1 parent 984eb237
...@@ -60,4 +60,10 @@ public class FenceAlarmVO { ...@@ -60,4 +60,10 @@ public class FenceAlarmVO {
*/ */
@ApiModelProperty("车牌号") @ApiModelProperty("车牌号")
private String licensePlate; private String licensePlate;
/**
* 围栏名称
*/
@ApiModelProperty("围栏名称")
private String fenceName;
} }
...@@ -46,7 +46,8 @@ ...@@ -46,7 +46,8 @@
tvd.sn as sn, tvd.sn as sn,
tv.created_date as activeDate, tv.created_date as activeDate,
taef.alarm_time as alarmTime, taef.alarm_time as alarmTime,
tv.license_plate as licensePlate tv.license_plate as licensePlate,
tef.fence_name as fenceName
from t_alarm_electric_fence taef from t_alarm_electric_fence taef
left join t_vehicle_device tvd on tvd.id = taef.vd_id left join t_vehicle_device tvd on tvd.id = taef.vd_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!