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
eae3956e
Commit
eae3956e
authored
Dec 17, 2021
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
29ac9ad7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
AlertCalledMapper.xml
...e-jcs-api/src/main/resources/mapper/AlertCalledMapper.xml
+5
-8
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-jcs-api/src/main/resources/mapper/AlertCalledMapper.xml
View file @
eae3956e
...
@@ -151,7 +151,7 @@
...
@@ -151,7 +151,7 @@
and a.call_time between #{startTime} and #{endTime}
and a.call_time between #{startTime} and #{endTime}
</if>
</if>
<if
test=
"alertTypeCode!= null and alertTypeCode!= '' "
>
<if
test=
"alertTypeCode!= null and alertTypeCode!= '' "
>
and a.al
arm
_type_code = #{alertTypeCode}
and a.al
ert
_type_code = #{alertTypeCode}
</if>
</if>
<if
test=
"alertSourceCode!= null "
>
<if
test=
"alertSourceCode!= null "
>
and a.alert_source_code = #{alertSourceCode}
and a.alert_source_code = #{alertSourceCode}
...
@@ -176,11 +176,8 @@
...
@@ -176,11 +176,8 @@
</select>
</select>
<select
id=
"selectAllCount"
resultType=
"int"
>
<select
id=
"selectAllCount"
resultType=
"int"
>
SELECT
SELECT
count(b.num)
count(a.sequence_nbr) as num
FROM
(SELECT
count(distinct a.sequence_nbr) as num
FROM
FROM
jc_alert_called a
jc_alert_called a
<if
test=
"isFatherAlert!= null and isFatherAlert == 'true' "
>
<if
test=
"isFatherAlert!= null and isFatherAlert == 'true' "
>
...
@@ -200,13 +197,13 @@
...
@@ -200,13 +197,13 @@
and a.alert_source_code = #{alertSourceCode}
and a.alert_source_code = #{alertSourceCode}
</if>
</if>
<if
test=
"systemSourceCode!= null "
>
<if
test=
"systemSourceCode!= null "
>
and a.system_source_code
= #{systemSourceCode}
and a.system_source_code
in (${systemSourceCode})
</if>
</if>
<if
test=
"isFatherAlert!= null and isFatherAlert == 'true' "
>
<if
test=
"isFatherAlert!= null and isFatherAlert == 'true' "
>
and j.alert_called_id = a.sequence_nbr
and j.alert_called_id = a.sequence_nbr
GROUP BY a.sequence_nbr
GROUP BY a.sequence_nbr
</if>
</if>
</where>
) b
</where>
</select>
</select>
...
...
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