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
daf014f9
Commit
daf014f9
authored
Nov 23, 2021
by
chenzhao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://172.16.10.76/moa/amos-boot-biz
into developer
parents
79354e8e
702d15b6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
7 deletions
+13
-7
LatentDangerExcuteTypeEnum.java
.../amos/patrol/common/enums/LatentDangerExcuteTypeEnum.java
+1
-1
AlertSubmittedServiceImpl.java
...odule/jcs/biz/service/impl/AlertSubmittedServiceImpl.java
+4
-1
PowerTransferServiceImpl.java
...module/jcs/biz/service/impl/PowerTransferServiceImpl.java
+4
-1
LatentDangerServiceImpl.java
...patrol/business/service/impl/LatentDangerServiceImpl.java
+4
-4
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-patrol-api/src/main/java/com/yeejoin/amos/patrol/common/enums/LatentDangerExcuteTypeEnum.java
View file @
daf014f9
...
@@ -109,7 +109,7 @@ public enum LatentDangerExcuteTypeEnum {
...
@@ -109,7 +109,7 @@ public enum LatentDangerExcuteTypeEnum {
public
static
LatentDangerExcuteTypeEnum
getByCode
(
Integer
code
)
{
public
static
LatentDangerExcuteTypeEnum
getByCode
(
Integer
code
)
{
for
(
LatentDangerExcuteTypeEnum
e
:
LatentDangerExcuteTypeEnum
.
values
())
{
for
(
LatentDangerExcuteTypeEnum
e
:
LatentDangerExcuteTypeEnum
.
values
())
{
if
(
code
.
equals
(
e
.
getCode
()
))
{
if
(
e
.
getCode
().
equals
(
code
))
{
return
e
;
return
e
;
}
}
}
}
...
...
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 @
daf014f9
...
@@ -206,7 +206,10 @@ public class AlertSubmittedServiceImpl extends BaseService<AlertSubmittedDto, Al
...
@@ -206,7 +206,10 @@ public class AlertSubmittedServiceImpl extends BaseService<AlertSubmittedDto, Al
*/
*/
AlertCalledRo
alertCalledRo
=
new
AlertCalledRo
();
AlertCalledRo
alertCalledRo
=
new
AlertCalledRo
();
String
replaceContent
=
RuleAlertCalledService
.
init
(
alertCalledRo
,
alertCalledVo
);
String
replaceContent
=
""
;
if
(
null
!=
alertCalled
)
{
replaceContent
=
RuleAlertCalledService
.
init
(
alertCalledRo
,
alertCalledVo
);
}
Map
<
String
,
String
>
definitions
=
new
HashMap
<>();
Map
<
String
,
String
>
definitions
=
new
HashMap
<>();
definitions
.
put
(
"$type"
,
alertCalled
.
getAlertType
());
definitions
.
put
(
"$type"
,
alertCalled
.
getAlertType
());
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/service/impl/PowerTransferServiceImpl.java
View file @
daf014f9
...
@@ -411,7 +411,10 @@ public class PowerTransferServiceImpl extends BaseService<PowerTransferDto, Powe
...
@@ -411,7 +411,10 @@ public class PowerTransferServiceImpl extends BaseService<PowerTransferDto, Powe
* 构建警情报送规则对象
* 构建警情报送规则对象
*/
*/
AlertCalledRo
alertCalledRo
=
new
AlertCalledRo
();
AlertCalledRo
alertCalledRo
=
new
AlertCalledRo
();
String
replaceContent
=
RuleAlertCalledService
.
init
(
alertCalledRo
,
alertCalledObjsDto
);
String
replaceContent
=
""
;
if
(
null
!=
alertCalled
)
{
replaceContent
=
RuleAlertCalledService
.
init
(
alertCalledRo
,
alertCalledObjsDto
);
}
definitions
.
put
(
"rescueGrid"
,
alertCalled
.
getAddress
());
definitions
.
put
(
"rescueGrid"
,
alertCalled
.
getAddress
());
definitions
.
put
(
"type"
,
alertCalled
.
getAlertType
());
definitions
.
put
(
"type"
,
alertCalled
.
getAlertType
());
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/service/impl/LatentDangerServiceImpl.java
View file @
daf014f9
...
@@ -1240,14 +1240,14 @@ public class LatentDangerServiceImpl implements ILatentDangerService {
...
@@ -1240,14 +1240,14 @@ public class LatentDangerServiceImpl implements ILatentDangerService {
latentDangerBo
.
setReformType
(
LatentDangerReformTypeEnum
.
常规整改
.
getCode
().
toString
());
latentDangerBo
.
setReformType
(
LatentDangerReformTypeEnum
.
常规整改
.
getCode
().
toString
());
latentDangerBo
.
setReformJson
(
executeParam
.
getFlowJson
().
toJSONString
());
latentDangerBo
.
setReformJson
(
executeParam
.
getFlowJson
().
toJSONString
());
latentDangerBo
.
setInferOtherThings
(
executeParam
.
getInferOtherThings
());
latentDangerBo
.
setInferOtherThings
(
executeParam
.
getInferOtherThings
());
latentDangerBo
.
setProblemDescription
(
executeParam
.
getRe
asonAnalysis
());
latentDangerBo
.
setProblemDescription
(
executeParam
.
getRe
mark
());
latentDangerBo
.
setReasonAnalysis
(
executeParam
.
getRe
mark
());
latentDangerBo
.
setReasonAnalysis
(
executeParam
.
getRe
asonAnalysis
());
}
else
if
(
executeTypeEnum
.
equals
(
LatentDangerExcuteTypeEnum
.
隐患延期治理
))
{
}
else
if
(
executeTypeEnum
.
equals
(
LatentDangerExcuteTypeEnum
.
隐患延期治理
))
{
latentDangerBo
.
setReformType
(
LatentDangerReformTypeEnum
.
延期治理
.
getCode
().
toString
());
latentDangerBo
.
setReformType
(
LatentDangerReformTypeEnum
.
延期治理
.
getCode
().
toString
());
latentDangerBo
.
setReformJson
(
executeParam
.
getFlowJson
().
toJSONString
());
latentDangerBo
.
setReformJson
(
executeParam
.
getFlowJson
().
toJSONString
());
latentDangerBo
.
setInferOtherThings
(
executeParam
.
getInferOtherThings
());
latentDangerBo
.
setInferOtherThings
(
executeParam
.
getInferOtherThings
());
latentDangerBo
.
setProblemDescription
(
executeParam
.
getRe
asonAnalysis
());
latentDangerBo
.
setProblemDescription
(
executeParam
.
getRe
mark
());
latentDangerBo
.
setReasonAnalysis
(
executeParam
.
getRe
mark
());
latentDangerBo
.
setReasonAnalysis
(
executeParam
.
getRe
asonAnalysis
());
latentDangerBo
.
setDelayLimitDate
(
DateUtil
.
str2Date
(
executeParam
.
getDelayLimitDate
(),
DateUtil
.
DATETIME_DEFAULT_FORMAT
));
latentDangerBo
.
setDelayLimitDate
(
DateUtil
.
str2Date
(
executeParam
.
getDelayLimitDate
(),
DateUtil
.
DATETIME_DEFAULT_FORMAT
));
}
}
if
(
executeTypeEnum
.
equals
(
LatentDangerExcuteTypeEnum
.
隐患评审通过
))
{
if
(
executeTypeEnum
.
equals
(
LatentDangerExcuteTypeEnum
.
隐患评审通过
))
{
...
...
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