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
4809cf80
Commit
4809cf80
authored
Sep 24, 2021
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2547 增加灾情事件类型匹配规则 xml中同步增加模糊查询 54-56行
parent
e11a6139
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
RequestData.java
.../yeejoin/amos/boot/module/common/api/dto/RequestData.java
+4
-1
AlertCalledMapper.xml
...e-jcs-api/src/main/resources/mapper/AlertCalledMapper.xml
+3
-0
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/dto/RequestData.java
View file @
4809cf80
...
...
@@ -30,7 +30,10 @@ public class RequestData {
@ApiModelProperty
(
value
=
"是否只显示24小时内警情"
)
private
Boolean
whether24
=
false
;
/*2547 增加灾情事件类型匹配规则 xml中同步增加模糊查询 54-56行 陈召 2021-09-24 开始*/
@ApiModelProperty
(
value
=
"灾情事件类型模糊匹配"
)
private
String
alertType
;
/*2547 增加灾情事件类型匹配规则 xml中同步增加模糊查询 54-56行 陈召 2021-09-24 结束*/
@ApiModelProperty
(
value
=
"灾情地址模糊匹配"
)
private
String
address
;
...
...
amos-boot-module/amos-boot-module-api/amos-boot-module-jcs-api/src/main/resources/mapper/AlertCalledMapper.xml
View file @
4809cf80
...
...
@@ -51,6 +51,9 @@
<if
test=
'par.address!=null and par.address!="" '
>
and a.address like CONCAT('%',#{par.address},'%')
</if>
<if
test=
'par.alertType!=null and par.alertType!="" '
>
and a.alert_type like CONCAT('%',#{par.alertType},'%')
</if>
<if
test=
'par.whether24!=false'
>
and a.call_time
>
= (NOW() - interval 24 hour)
</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