Commit 83e1a595 by 杨林龙

提交解除每天限制查询

1 parent 20028d08
...@@ -38,8 +38,8 @@ public class RemoteAlarmService { ...@@ -38,8 +38,8 @@ public class RemoteAlarmService {
public PageInfo searchCommonByPage(Collection<String> sns, Page page) { public PageInfo searchCommonByPage(Collection<String> sns, Page page) {
CommonAlarmBo commonAlarmBo = new CommonAlarmBo(); CommonAlarmBo commonAlarmBo = new CommonAlarmBo();
commonAlarmBo.setSnList(sns); commonAlarmBo.setSnList(sns);
commonAlarmBo.setAlarmStartTime(DateUtil.getTodayFirstDateTimeStr()); // commonAlarmBo.setAlarmStartTime(DateUtil.getTodayFirstDateTimeStr());
commonAlarmBo.setAlarmEndTime(DateUtil.getTodayLastDateTimeStr()); // commonAlarmBo.setAlarmEndTime(DateUtil.getTodayLastDateTimeStr());
commonAlarmBo.setPageNumber(page.getPageNumber()); commonAlarmBo.setPageNumber(page.getPageNumber());
commonAlarmBo.setPageSize(page.getPageSize()); commonAlarmBo.setPageSize(page.getPageSize());
// 设置防拆报警生效查询状态 // 设置防拆报警生效查询状态
......
...@@ -54,7 +54,6 @@ ...@@ -54,7 +54,6 @@
and tvd.del_flag = 0 and tvd.del_flag = 0
and td.source = 1 and td.source = 1
and tef.del_flag = 0 and tef.del_flag = 0
and DATE_FORMAT(taef.alarm_time, '%Y-%m-%d') = DATE_FORMAT(NOW(), '%Y-%m-%d')
order by taef.alarm_time desc order by taef.alarm_time desc
</select> </select>
......
...@@ -45,7 +45,6 @@ ...@@ -45,7 +45,6 @@
and tvd.del_flag = 0 and tvd.del_flag = 0
and tvd.bind_status = 1 and tvd.bind_status = 1
and tatr.alarm_type in (1, 99) and tatr.alarm_type in (1, 99)
and DATE_FORMAT(tatr.begin_time, '%Y-%m-%d') = DATE_FORMAT(NOW(), '%Y-%m-%d')
order by tatr.begin_time desc order by tatr.begin_time desc
</select> </select>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!