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
f352f85b
Commit
f352f85b
authored
Jun 25, 2021
by
fupeiyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改接口:获取短信模板
parent
11ecbd9c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
4 deletions
+18
-4
AlertCalledRo.java
...m/yeejoin/amos/boot/module/jcs/api/dto/AlertCalledRo.java
+3
-0
AlertBusinessTypeEnum.java
...amos/boot/module/jcs/api/enums/AlertBusinessTypeEnum.java
+11
-4
AlertSubmittedServiceImpl.java
...odule/jcs/biz/service/impl/AlertSubmittedServiceImpl.java
+0
-0
RuleAlertCalledService.java
...t/module/jcs/biz/service/impl/RuleAlertCalledService.java
+4
-0
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/dto/AlertCalledRo.java
View file @
f352f85b
...
...
@@ -50,6 +50,9 @@ public class AlertCalledRo implements Serializable{
@Label
(
value
=
"地址"
)
private
String
address
;
@Label
(
value
=
"警情报送id"
)
private
String
alertSubmittedId
;
/**
* 一般火灾
*/
...
...
amos-boot-module/amos-boot-module-api/amos-boot-module-jcs-api/src/main/java/com/yeejoin/amos/boot/module/jcs/api/enums/AlertBusinessTypeEnum.java
View file @
f352f85b
...
...
@@ -15,13 +15,18 @@ public enum AlertBusinessTypeEnum {
/**
* 警情续报,非警情确认,警情结案
*/
警情初报
(
"reportAlert"
,
"297"
,
"警情初报"
),
警情续报
(
"reportAlert"
,
"313"
,
"警情续报"
),
非警情确认
(
"notAlert"
,
"314"
,
"非警情确认"
),
警情结案
(
"endAlert"
,
"315"
,
"警情结案"
);
一般火灾警情初报
(
"fireReportAlert"
,
"229"
,
"SMS_JCS_0001"
,
"一般火灾警情初报"
),
航空器救援警情初报
(
"aircraftReportAlert"
,
"230"
,
"SMS_JCS_0002"
,
"航空器救援警情初报"
),
突发事件救援警情初报
(
"emergenciesReportAlert"
,
"235"
,
"SMS_JCS_0003"
,
"突发事件救援警情初报"
),
漏油现场安全保障警情初报
(
"oilSpillReportAlert"
,
"237"
,
"SMS_JCS_0004"
,
"漏油现场安全保障警情初报"
),
专机保障警情初报
(
"specialReportAlert"
,
"238"
,
"SMS_JCS_0005"
,
"专机保障警情初报"
),
警情续报
(
"followReportAlert"
,
"313"
,
"SMS_JCS_0006"
,
"警情续报"
),
非警情确认
(
"notAlert"
,
"314"
,
"SMS_JCS_0008"
,
"非警情确认"
),
警情结案
(
"endAlert"
,
"315"
,
"SMS_JCS_0009"
,
"警情结案"
);
private
String
key
;
private
String
code
;
private
String
sms_code
;
private
String
name
;
public
String
getKey
()
{
...
...
@@ -47,4 +52,6 @@ public enum AlertBusinessTypeEnum {
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
}
}
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/service/impl/AlertSubmittedServiceImpl.java
View file @
f352f85b
This diff is collapsed.
Click to expand it.
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/service/impl/RuleAlertCalledService.java
View file @
f352f85b
...
...
@@ -56,6 +56,10 @@ public class RuleAlertCalledService {
List
<
AlertFormValue
>
alertFormValues
=
alertCalledVo
.
getAlertFormValue
();
for
(
AlertFormValue
alertFormValue
:
alertFormValues
)
{
if
(
alertFormValue
.
getFieldCode
().
equals
(
"alertSubmittedId"
))
{
alertCalledRo
.
setAlertSubmittedId
(
alertFormValue
.
getFieldValue
());
}
//一般火灾
if
(
alertFormValue
.
getFieldCode
().
equals
(
"fireLocation"
))
{
...
...
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