Commit e3933cb6 authored by lisong's avatar lisong

修改bug

parent 247eec0e
......@@ -2132,13 +2132,17 @@ public class LatentDangerServiceImpl extends BaseService<LatentDangerBo, LatentD
}
// pageParam.put("bizType", bizType);
Page page = new Page(pageParam.getParamPageCurrent(), pageParam.getParamPageSize());
// 导入外部隐患信息已提交,不限制仅自己可见
if (!CollectionUtils.isEmpty(dangerIdList)){
LatentDangerBo lanDer = latentDangerMapper.getById(Long.valueOf(dangerIdList.get(0)));
if (!ObjectUtils.isEmpty(lanDer)){
if ("dangerSubmit".equals(lanDer.getDangerState())){
pageParam.remove("isDraft");
}
}
}
/*
* 处置隐患页面excle导入外部隐患信息无法实现,获取不到数据,以及由当前人导入的数据只能由当前人看见的权限设置------------------by
* 陈浩 on 2022-04-14--start
......
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