Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-miniappserver
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 83e1a595
authored
Jul 21, 2022
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交解除每天限制查询
1 parent
20028d08
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
4 deletions
src/main/java/cn/com/glsx/app/modules/remote/RemoteAlarmService.java
src/main/resources/mapper/AlarmElectricFenceMapper.xml
src/main/resources/mapper/AlarmTrackRecMapper.xml
src/main/java/cn/com/glsx/app/modules/remote/RemoteAlarmService.java
View file @
83e1a59
...
@@ -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
());
// 设置防拆报警生效查询状态
// 设置防拆报警生效查询状态
...
...
src/main/resources/mapper/AlarmElectricFenceMapper.xml
View file @
83e1a59
...
@@ -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>
...
...
src/main/resources/mapper/AlarmTrackRecMapper.xml
View file @
83e1a59
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment