预警调试
This commit is contained in:
parent
7da4f2450e
commit
53e9193ba4
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue