Commit 27ab41e0 by 向延琳

增加车牌号返回

1 parent 39759268
......@@ -41,6 +41,11 @@ public class DevicePowerDO implements Serializable {
private String vehicleId;
/**
* 车牌号
*/
private String licensePlate;
/**
* 当前电量
*/
private Integer soc;
......
......@@ -48,4 +48,10 @@ public class LowPowerVO implements Serializable {
*/
@ApiModelProperty("车辆ID")
private Long vehicleId;
/**
* 车牌号
*/
@ApiModelProperty("车牌号")
private String licensePlate;
}
......@@ -24,6 +24,7 @@
<result column="owner_name" jdbcType="TINYINT" property="ownerName"/>
<result column="vin" jdbcType="TIMESTAMP" property="vin"/>
<result column="id" jdbcType="INTEGER" property="vehicleId"/>
<result column="license_plate" jdbcType="VARCHAR" property="licensePlate"/>
</resultMap>
......@@ -85,6 +86,7 @@
tv.owner_name,
tv.vin,
tv.id,
tv.license_plate,
tdp.alarm_time
from t_device_power tdp
left join t_vehicle_device tvd on tvd.id = tdp.vd_id
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!