ard-work/src/main/resources/mapper/alarm/ArdAlarmStealelecMapper.xml
@@ -24,6 +24,9 @@ <include refid="Base_Column_List"/> from ard_alarm_stealelec <where> <if test="name != null and name != ''"> AND name like concat('%', #{name}, '%') </if> <if test="params.beginTime != null and params.beginTime != ''"><!-- 开始时间检索 --> AND start_time >= to_timestamp(#{params.beginTime},'yyyy-MM-DD HH24:MI:ss') </if> @@ -140,4 +143,4 @@ from ard_alarm_stealelec where start_time >= #{start} and start_time <= #{end} group by date order by date </select> </mapper> </mapper>