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
36ede852
Commit
36ede852
authored
Sep 22, 2021
by
xinglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*)修改方法
parent
7c37c4c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
LatentDangerServiceImpl.java
...vision/business/service/impl/LatentDangerServiceImpl.java
+10
-1
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-supervision-biz/src/main/java/com/yeejoin/amos/supervision/business/service/impl/LatentDangerServiceImpl.java
View file @
36ede852
...
@@ -1636,17 +1636,26 @@ public class LatentDangerServiceImpl implements ILatentDangerService {
...
@@ -1636,17 +1636,26 @@ public class LatentDangerServiceImpl implements ILatentDangerService {
Long
checkId
=
param
.
getLong
(
"checkId"
);
Long
checkId
=
param
.
getLong
(
"checkId"
);
Long
itemId
=
param
.
getLong
(
"itemId"
);
Long
itemId
=
param
.
getLong
(
"itemId"
);
Long
routePointItemId
=
param
.
getLong
(
"routePointItemId"
);
Long
routePointItemId
=
param
.
getLong
(
"routePointItemId"
);
Integer
checkType
=
null
;
Check
check
=
getCheck
(
checkId
);
Check
check
=
getCheck
(
checkId
);
InputCheckDto
inputCheckDto
=
getInputCheckDto
(
checkId
,
itemId
,
routePointItemId
);
InputCheckDto
inputCheckDto
=
getInputCheckDto
(
checkId
,
itemId
,
routePointItemId
);
InputItem
inputItem
=
getInputItem
(
itemId
);
InputItem
inputItem
=
getInputItem
(
itemId
);
String
photoUrls
=
getPhotoUrls
(
inputCheckDto
);
String
photoUrls
=
getPhotoUrls
(
inputCheckDto
);
if
(
check
.
getPlanId
()
>
0
)
{
checkType
=
LatentDangerTypeEnum
.
计划检查
.
getCode
();
}
else
if
(
CheckModeEnum
.
WEB_OUT
.
getCode
().
equals
(
check
.
getCheckMode
()))
{
checkType
=
LatentDangerTypeEnum
.
无码检查
.
getCode
();
}
else
{
checkType
=
LatentDangerTypeEnum
.
无计划检查
.
getCode
();
}
result
.
put
(
"inputCheck"
,
inputCheckDto
);
result
.
put
(
"inputCheck"
,
inputCheckDto
);
result
.
put
(
"inputItemName"
,
!
ValidationUtil
.
isEmpty
(
inputItem
)
?
inputItem
.
getName
()
:
null
);
result
.
put
(
"inputItemName"
,
!
ValidationUtil
.
isEmpty
(
inputItem
)
?
inputItem
.
getName
()
:
null
);
result
.
put
(
"photos"
,
photoUrls
);
result
.
put
(
"photos"
,
photoUrls
);
result
.
put
(
"checkMode"
,
!
ValidationUtil
.
isEmpty
(
check
)
?
check
.
getCheckMode
()
:
null
);
result
.
put
(
"checkMode"
,
!
ValidationUtil
.
isEmpty
(
check
)
?
check
.
getCheckMode
()
:
null
);
result
.
put
(
"checkType"
,
null
);
result
.
put
(
"checkType"
,
!
ValidationUtil
.
isEmpty
(
check
)
?
checkType
:
null
);
return
result
;
return
result
;
}
}
...
...
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