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
a5a936e5
Commit
a5a936e5
authored
Jul 13, 2022
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改代码
parent
b97b4450
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
LatentDangerServiceImpl.java
...patrol/business/service/impl/LatentDangerServiceImpl.java
+9
-2
No files found.
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 @
a5a936e5
...
@@ -602,6 +602,9 @@ public class LatentDangerServiceImpl implements ILatentDangerService {
...
@@ -602,6 +602,9 @@ public class LatentDangerServiceImpl implements ILatentDangerService {
}
}
Date
startDate1
=
new
Date
();;
Date
startDate1
=
new
Date
();;
int
dangerListSize
=
latentDangerMapper
.
countByBathBusinessKeys
(
bussinessKeys
,
latentDangerListParam
);
int
dangerListSize
=
latentDangerMapper
.
countByBathBusinessKeys
(
bussinessKeys
,
latentDangerListParam
);
if
(
latentDangerListParam
.
getBelongType
().
equals
(
1
)){
latentDangerListParam
.
setUserId
(
user
.
getUserId
());
}
List
<
LatentDangerBo
>
dangerList
=
latentDangerMapper
.
getByBathBusinessKeys
(
bussinessKeys
,
latentDangerListParam
);
List
<
LatentDangerBo
>
dangerList
=
latentDangerMapper
.
getByBathBusinessKeys
(
bussinessKeys
,
latentDangerListParam
);
Date
endDate1
=
new
Date
();
Date
endDate1
=
new
Date
();
logger
.
info
(
"-------------------------sql时间"
+(
endDate1
.
getTime
()-
startDate1
.
getTime
()));
logger
.
info
(
"-------------------------sql时间"
+(
endDate1
.
getTime
()-
startDate1
.
getTime
()));
...
@@ -1269,9 +1272,12 @@ public class LatentDangerServiceImpl implements ILatentDangerService {
...
@@ -1269,9 +1272,12 @@ public class LatentDangerServiceImpl implements ILatentDangerService {
latentDangerBo
.
setReformType
(
LatentDangerReformTypeEnum
.
常规整改
.
getCode
().
toString
());
latentDangerBo
.
setReformType
(
LatentDangerReformTypeEnum
.
常规整改
.
getCode
().
toString
());
JSONObject
reformJsonObj
=
JSONObject
.
parseObject
(
latentDangerBo
.
getReformJson
());
JSONObject
reformJsonObj
=
JSONObject
.
parseObject
(
latentDangerBo
.
getReformJson
());
if
(
ValidationUtil
.
isEmpty
(
reformJsonObj
))
{
if
(
ValidationUtil
.
isEmpty
(
reformJsonObj
))
{
reformJsonObj
=
executeParam
.
getFlowJson
();
// reformJsonObj = executeParam.getFlowJson();
reformJsonObj
.
put
(
"governPhotoObj"
,
executeParam
.
getFlowJson
().
get
(
"photoUrls"
));
}
else
{
}
else
{
reformJsonObj
.
putAll
(
executeParam
.
getFlowJson
());
// reformJsonObj.putAll(executeParam.getFlowJson());
reformJsonObj
.
put
(
"governPhotoObj"
,
executeParam
.
getFlowJson
().
get
(
"photoUrls"
));
}
}
latentDangerBo
.
setReformJson
(
reformJsonObj
.
toJSONString
());
latentDangerBo
.
setReformJson
(
reformJsonObj
.
toJSONString
());
latentDangerBo
.
setInferOtherThings
(
executeParam
.
getInferOtherThings
());
latentDangerBo
.
setInferOtherThings
(
executeParam
.
getInferOtherThings
());
...
@@ -1295,6 +1301,7 @@ public class LatentDangerServiceImpl implements ILatentDangerService {
...
@@ -1295,6 +1301,7 @@ public class LatentDangerServiceImpl implements ILatentDangerService {
reformJsonObject
=
new
JSONObject
();
reformJsonObject
=
new
JSONObject
();
}
}
reformJsonObject
.
put
(
"governUserId"
,
governUserId
);
reformJsonObject
.
put
(
"governUserId"
,
governUserId
);
reformJsonObject
.
put
(
"reviewPhotoObj"
,
reformJsonObject
.
get
(
"photoUrls"
));
latentDangerBo
.
setReformJson
(
reformJsonObject
.
toJSONString
());
latentDangerBo
.
setReformJson
(
reformJsonObject
.
toJSONString
());
// 消防巡查需求:评审通过后指定治理人
// 消防巡查需求:评审通过后指定治理人
...
...
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