Commit ea58414b by 杨林龙

警情查询去掉今日的限制

1 parent d41cec8e
...@@ -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());
// 设置防拆报警生效查询状态 // 设置防拆报警生效查询状态
......
...@@ -56,7 +56,6 @@ ...@@ -56,7 +56,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 alarmTime desc,taefId desc order by alarmTime desc,taefId desc
</select> </select>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!