安全带修改

This commit is contained in:
pengjie 2024-09-20 18:00:33 +08:00
parent eb3a5ed001
commit 6b5a84c498

View File

@ -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">