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
c6affcf2
Commit
c6affcf2
authored
Jan 21, 2022
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
外部单位隐患处理修改
parent
c3f4624c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
LatentDangerServiceImpl.java
...danger/business/service/impl/LatentDangerServiceImpl.java
+2
-5
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 @
c6affcf2
...
...
@@ -1932,15 +1932,12 @@ public class LatentDangerServiceImpl extends BaseService<LatentDangerBo, LatentD
// 没设置隐患状态,说明查询 '我的任务' 或 所有是 '提交隐患' 状态的任务
if
(
ValidationUtil
.
isEmpty
(
pageParam
.
get
(
"dangerState"
)))
{
if
(
LatentDangerBizTypeEnum
.
防火监督
.
getCode
().
equals
(
bizType
))
{
pageParam
.
put
(
"dangerState"
,
LatentDangerState
.
SupervisionDangerStateEnum
.
提交隐患
.
getCode
());
// app待审核隐患须加上“提交隐患”状态的数据
pageParam
.
put
(
"submitDangerState"
,
LatentDangerState
.
SupervisionDangerStateEnum
.
提交隐患
.
getCode
());
}
else
if
(
LatentDangerBizTypeEnum
.
巡检
.
getCode
().
equals
(
bizType
))
{
pageParam
.
put
(
"dangerState"
,
LatentDangerState
.
PatrolDangerStateEnum
.
待评审
.
getCode
());
}
}
// app待审核隐患须加上“提交隐患”状态的数据
if
(
AuditEnum
.
AUDIT
.
getCode
().
equals
(
pageParam
.
get
(
"type"
)))
{
pageParam
.
put
(
"submitDangerState"
,
LatentDangerState
.
SupervisionDangerStateEnum
.
提交隐患
.
getCode
());
}
}
// 获取隐患地点的子节点
Object
structureId
=
pageParam
.
get
(
"structureId"
);
...
...
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