Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
661b0c4b
Commit
661b0c4b
authored
Sep 29, 2021
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
c603b347
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
AlertCalledMapper.java
...in/amos/boot/module/jcs/api/mapper/AlertCalledMapper.java
+5
-0
AlertCalledMapper.xml
...e-jcs-api/src/main/resources/mapper/AlertCalledMapper.xml
+4
-5
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-jcs-api/src/main/java/com/yeejoin/amos/boot/module/jcs/api/mapper/AlertCalledMapper.java
View file @
661b0c4b
...
@@ -49,6 +49,11 @@ public interface AlertCalledMapper extends BaseMapper<AlertCalled> {
...
@@ -49,6 +49,11 @@ public interface AlertCalledMapper extends BaseMapper<AlertCalled> {
String
data
,
String
data
,
String
lift
);
String
lift
);
int
selectAllCount
(
Integer
alertStatus
,
String
alertTypeCode
,
String
alertSourceCode
,
String
startTime
,
String
endTime
);
Integer
AlertCalledcount
(
@Param
(
"alertStatus"
)
int
alertStatus
);
Integer
AlertCalledcount
(
@Param
(
"alertStatus"
)
int
alertStatus
);
...
...
amos-boot-module/amos-boot-module-api/amos-boot-module-jcs-api/src/main/resources/mapper/AlertCalledMapper.xml
View file @
661b0c4b
...
@@ -111,8 +111,7 @@
...
@@ -111,8 +111,7 @@
a.rescue_grid,
a.rescue_grid,
a.coordinate_x,
a.coordinate_x,
a.coordinate_y,
a.coordinate_y,
a.response_level,
a.response_level
COUNT (*) AS total
FROM
FROM
jc_alert_called a
jc_alert_called a
<where>
<where>
...
@@ -149,11 +148,11 @@
...
@@ -149,11 +148,11 @@
<select
id=
"selectAllCount"
resultType=
"int"
>
<select
id=
"selectAllCount"
resultType=
"int"
>
SELECT
SELECT
COUNT
(*)
COUNT(*)
FROM
FROM
jc_alert_called
a
jc_alert_called
<where>
<where>
a.
is_delete = 0
is_delete = 0
<if
test=
"alertStatus!= null "
>
<if
test=
"alertStatus!= null "
>
and alert_status = #{alertStatus}
and alert_status = #{alertStatus}
</if>
</if>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment