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
f15e4593
Commit
f15e4593
authored
Nov 09, 2021
by
xinglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*)增加隐患列表筛选条件
parent
21c55b94
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
LatentDangerListParam.java
...oin/amos/patrol/business/param/LatentDangerListParam.java
+2
-0
LatentDangerMapper.xml
...atrol/src/main/resources/db/mapper/LatentDangerMapper.xml
+6
-0
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/param/LatentDangerListParam.java
View file @
f15e4593
...
...
@@ -37,4 +37,6 @@ public class LatentDangerListParam extends CommonPageable {
private
String
dangerName
;
private
String
userId
;
private
String
dangerId
;
}
amos-boot-system-patrol/src/main/resources/db/mapper/LatentDangerMapper.xml
View file @
f15e4593
...
...
@@ -888,6 +888,9 @@
<if
test=
"latentDangerListParam.dangerName != null and latentDangerListParam.dangerName !=''"
>
AND pld.danger_name LIKE concat('%',#{latentDangerListParam.dangerName},'%')
</if>
<if
test=
"latentDangerListParam.dangerId != null and latentDangerListParam.dangerId !=''"
>
and pld.id=#{latentDangerListParam.dangerId}
</if>
ORDER BY create_date DESC
<if
test=
"latentDangerListParam.pageSize != null and latentDangerListParam.offset != null"
>
limit #{latentDangerListParam.offset}, #{latentDangerListParam.pageSize}
...
...
@@ -916,6 +919,9 @@
<if
test=
"latentDangerListParam.dangerName != null and latentDangerListParam.dangerName !=''"
>
AND pld.danger_name LIKE concat('%',#{latentDangerListParam.dangerName},'%')
</if>
<if
test=
"latentDangerListParam.dangerId != null and latentDangerListParam.dangerId !=''"
>
and pld.id=#{latentDangerListParam.dangerId}
</if>
</select>
<select
id=
"countByStatus"
resultType=
"java.lang.Integer"
>
...
...
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