dev #2

Merged
dashixiong merged 349 commits from dev into main 2026-02-11 01:55:46 +00:00
197 changed files with 20205 additions and 952 deletions
Showing only changes of commit eb72542b67 - Show all commits

View File

@ -23,6 +23,9 @@ public class AlarmRecordListRequestVo {
/** 告警结束时间 */
private String alarmEndTime;
/** 设备id */
private String deviceId;
public String getSiteId() {
return siteId;
}
@ -62,4 +65,12 @@ public class AlarmRecordListRequestVo {
public void setAlarmEndTime(String alarmEndTime) {
this.alarmEndTime = alarmEndTime;
}
public String getDeviceId() {
return deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
}

View File

@ -159,6 +159,9 @@
<if test="alarmLevel != null and alarmLevel != ''">
AND t.alarm_level = #{alarmLevel}
</if>
<if test="deviceId != null and deviceId != ''">
AND t.device_id = #{deviceId}
</if>
<if test="alarmStartTime != null and alarmStartTime != null and alarmEndTime != null and alarmEndTime != ''">
AND (date_format(t.alarm_start_time,'%Y%m%d') BETWEEN date_format(#{alarmStartTime},'%Y%m%d') and date_format(#{alarmEndTime},'%Y%m%d')
or date_format(t.alarm_end_time,'%Y%m%d') BETWEEN date_format(#{alarmStartTime},'%Y%m%d') and date_format(#{alarmEndTime},'%Y%m%d') )

View File

@ -313,8 +313,8 @@
AND t.date_month = latest.date_month
AND t.date_day = latest.date_day
AND t.data_update_time = latest.max_update_time
group by ammeterDate
order by ammeterDate
group by ammeterDate,t.date_month,t.date_day
order by t.date_month desc, t.date_day desc
</select>
<select id="getPcsTotalChargeData" resultType="map">