视频设备、单位管理接口

This commit is contained in:
cwchen 2025-04-11 14:57:02 +08:00
parent d09997620c
commit 7223d7062b
3 changed files with 6 additions and 2 deletions

View File

@ -80,13 +80,13 @@ public class DeviceVo {
* 创建时间
*/
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date createTime;
/**
* 修改时间
*/
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date updateTime;
/**
* 备注

View File

@ -94,6 +94,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</if>
AND td.is_active = '1'
</where>
ORDER BY td.update_time DESC
</select>
<!--查询数据是否重复-共用同一个puid的视频设备-->
<select id="queryValueIsExist2" resultType="java.lang.Integer">

View File

@ -84,6 +84,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
INSTR(suff_phone,#{keyWord}) > 0
)
</if>
<if test="unitType!=null and unitType!=''">
AND unit_type =#{unitType}
</if>
AND is_active = '1'
</where>
</select>