预警调试

This commit is contained in:
mashuai 2024-09-20 11:16:05 +08:00
parent 7da4f2450e
commit 53e9193ba4
2 changed files with 8 additions and 3 deletions

View File

@ -46,8 +46,8 @@
<if test="relUser != null and relUser != ''">
and tbr.rel_user like concat('%',#{relUser},'%')
</if>
<if test="auditStatus != null and auditStatus != ''">
and tbr.audit_status = #{auditStatus}
<if test="createTime != null and createTime != ''">
and DATE_FORMAT(tbr.create_time, '%Y-%m-%d') = DATE_FORMAT(#{createTime}, '%Y-%m-%d')
</if>
GROUP BY tbr.id
</select>

View File

@ -50,6 +50,9 @@
<!--@mbg.generated-->
insert into tb_device
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">
id,
</if>
<if test="devType != null and devType != ''">
dev_type,
</if>
@ -95,7 +98,9 @@
<if test="configId != null">
#{configId,jdbcType=BIGINT},
</if>
1,
<if test="devStatus != null">
#{devStatus,jdbcType=INTEGER},
</if>
<if test="devWarn != null">
#{devWarn,jdbcType=INTEGER},
</if>