安全带修改
This commit is contained in:
parent
eb3a5ed001
commit
6b5a84c498
@ -17,6 +17,9 @@
|
|||||||
where project_sn = #{projectSn}
|
where project_sn = #{projectSn}
|
||||||
and alarm_time > date_sub(now(), interval 8 day)
|
and alarm_time > date_sub(now(), interval 8 day)
|
||||||
and alarm_type is not null
|
and alarm_type is not null
|
||||||
|
<if test="type != null and type != ''">
|
||||||
|
and type = #{type}
|
||||||
|
</if>
|
||||||
group by alarm_type, date_format(alarm_time, '%Y-%m-%d')
|
group by alarm_type, date_format(alarm_time, '%Y-%m-%d')
|
||||||
</select>
|
</select>
|
||||||
<insert id="batchInsert" parameterType="map">
|
<insert id="batchInsert" parameterType="map">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user