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
dc61a0e9
Commit
dc61a0e9
authored
Jan 06, 2022
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
隐患bug修改
parent
87020a33
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
12 deletions
+9
-12
LatentDangerServiceImpl.java
...danger/business/service/impl/LatentDangerServiceImpl.java
+2
-1
HiddenDangerServiceImpl.java
...vision/business/service/impl/HiddenDangerServiceImpl.java
+7
-11
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-latentdanger-biz/src/main/java/com/yeejoin/amos/latentdanger/business/service/impl/LatentDangerServiceImpl.java
View file @
dc61a0e9
...
...
@@ -1154,7 +1154,8 @@ public class LatentDangerServiceImpl extends BaseService<LatentDangerBo, LatentD
return
executeSubmitDto
;
}
String
planType
=
bizInfo
.
get
(
"planType"
).
toString
();
AgencyUserModel
userModel
=
jcsFeignClient
.
getAmosIdByUserId
((
String
)
bizInfo
.
get
(
"accompanyingUserId"
)).
getResult
();
// 获取检查组长
AgencyUserModel
userModel
=
jcsFeignClient
.
getAmosIdByUserId
((
String
)
bizInfo
.
get
(
"leadPeopleId"
)).
getResult
();
if
(
ValidationUtil
.
isEmpty
(
userModel
))
{
executeSubmitDto
.
setIsOk
(
false
);
executeSubmitDto
.
setMsg
(
"业务信息错误"
);
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-supervision-biz/src/main/java/com/yeejoin/amos/supervision/business/service/impl/HiddenDangerServiceImpl.java
View file @
dc61a0e9
...
...
@@ -288,10 +288,8 @@ public class HiddenDangerServiceImpl implements IHiddenDangerService {
result
.
put
(
"bizId"
,
hiddenDangerDto
.
getCheckInputId
());
result
.
put
(
"bizName"
,
hiddenDangerDto
.
getInputItemName
());
result
.
put
(
"routeId"
,
plan
.
getRouteId
());
result
.
put
(
"accompanyingUserId"
,
plan
.
getLeadPeopleIds
());
// 检查陪同人id
result
.
put
(
"accompanyingUserName"
,
plan
.
getLeadPeopleNames
());
// 检查陪同人名称
result
.
put
(
"checkUnitId"
,
plan
.
getCheckUnitId
());
result
.
put
(
"checkUnitName"
,
plan
.
getCheckUnitName
());
result
.
put
(
"checkUnitId"
,
plan
.
getCheckUnitId
());
// 检查人所在单位id逗号隔开
result
.
put
(
"checkUnitName"
,
plan
.
getCheckUnitName
());
// 检查人所在单位名称逗号隔开
result
.
put
(
"leadPeopleId"
,
plan
.
getLeadPeopleIds
());
// 牵头人id
result
.
put
(
"leadPeopleName"
,
plan
.
getLeadPeopleNames
());
// 牵头人名称
result
.
put
(
"makerUserId"
,
plan
.
getMakerUserId
());
// 计划制定人id
...
...
@@ -313,13 +311,11 @@ public class HiddenDangerServiceImpl implements IHiddenDangerService {
return
;
}
List
<
CheckShot
>
shotList
=
iCheckShotDao
.
findAllByCheckIdAndCheckInputId
(
checkInput
.
getCheckId
(),
checkInput
.
getId
());
result
.
put
(
"checkUserId"
,
checkInput
.
getUserId
());
result
.
put
(
"checkUserName"
,
checkInput
.
getUserName
());
result
.
put
(
"accompanyUserId"
,
checkInput
.
getAccompanyUserId
());
result
.
put
(
"accompanyUserName"
,
checkInput
.
getAccompanyUserName
());
result
.
put
(
"accompanyingUserId"
,
checkInput
.
getAccompanyUserId
());
result
.
put
(
"accompanyingUserName"
,
checkInput
.
getAccompanyUserName
());
result
.
put
(
"planExecuteTime"
,
checkInput
.
getCreateDate
());
result
.
put
(
"checkUserId"
,
checkInput
.
getUserId
());
// 任务执行人id
result
.
put
(
"checkUserName"
,
checkInput
.
getUserName
());
// 任务执行人名称
result
.
put
(
"accompanyingUserId"
,
checkInput
.
getAccompanyUserId
());
// 检查陪同人id
result
.
put
(
"accompanyingUserName"
,
checkInput
.
getAccompanyUserName
());
// 检查陪同人名称
result
.
put
(
"planExecuteTime"
,
checkInput
.
getCreateDate
());
// 计划任务执行时间
result
.
put
(
"checkPhotoUrl"
,
shotList
.
stream
().
map
(
CheckShot:
:
getPhotoData
).
collect
(
Collectors
.
joining
(
","
)));
}
}
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