|
@@ -1,5 +1,6 @@
|
|
package com.zcxk.rmcp.web.service.impl;
|
|
package com.zcxk.rmcp.web.service.impl;
|
|
|
|
|
|
|
|
+import cn.hutool.core.date.DateUtil;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.bz.zoneiot.core.common.enums.StatusEnum;
|
|
import com.bz.zoneiot.core.common.enums.StatusEnum;
|
|
import com.bz.zoneiot.core.common.pojo.Message;
|
|
import com.bz.zoneiot.core.common.pojo.Message;
|
|
@@ -78,6 +79,7 @@ public class AlarmTypeDetailsServiceImpl implements AlarmTypeDetailsService {
|
|
public Pagination<AlarmTypeDetailsEntityVo> selectPage(AlarmTypeDetailsDto dto, BasePageDto page) {
|
|
public Pagination<AlarmTypeDetailsEntityVo> selectPage(AlarmTypeDetailsDto dto, BasePageDto page) {
|
|
dto.setState(AlarmStateEnum.REALTIME_ALARM.getCode());
|
|
dto.setState(AlarmStateEnum.REALTIME_ALARM.getCode());
|
|
PageHelper.startPage(page.getPageNum(),page.getPageSize());
|
|
PageHelper.startPage(page.getPageNum(),page.getPageSize());
|
|
|
|
+ dto.setEndTime(DateUtil.endOfDay(dto.getEndTime()).toJdkDate());
|
|
return new Pagination<>(alarmTypeDetailMapper.selectList(dto, UserUtil.getCurrentUser().getUserCondition()));
|
|
return new Pagination<>(alarmTypeDetailMapper.selectList(dto, UserUtil.getCurrentUser().getUserCondition()));
|
|
}
|
|
}
|
|
|
|
|