Commit c6affcf2 authored by tianbo's avatar tianbo

外部单位隐患处理修改

parent c3f4624c
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment