修改
This commit is contained in:
parent
dc874b7988
commit
3c99ff16c6
@ -37,4 +37,6 @@ public class DeviceRespVO {
|
|||||||
private Date updateAt;
|
private Date updateAt;
|
||||||
@ApiModelProperty("景区名称")
|
@ApiModelProperty("景区名称")
|
||||||
private String scenicName;
|
private String scenicName;
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||||
|
private Date keepaliveAt;
|
||||||
}
|
}
|
||||||
|
@ -52,7 +52,7 @@
|
|||||||
delete from device where id = #{id}
|
delete from device where id = #{id}
|
||||||
</delete>
|
</delete>
|
||||||
<select id="list" resultType="com.ycwl.basic.model.pc.device.resp.DeviceRespVO">
|
<select id="list" resultType="com.ycwl.basic.model.pc.device.resp.DeviceRespVO">
|
||||||
select d.id, scenic_id, d.name, no, d.longitude, d.latitude, d.status, create_at, d.update_at, s.name scenic_name
|
select d.id, scenic_id, d.name, no, d.longitude, d.latitude, d.status, create_at, d.update_at, s.name scenic_name, d.keepalive_at
|
||||||
from device d
|
from device d
|
||||||
left join scenic s on d.scenic_id = s.id
|
left join scenic s on d.scenic_id = s.id
|
||||||
<where>
|
<where>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user