Commit 4a1e6ce6 authored by tianbo's avatar tianbo

隐患审核修改

parent d0e7a1ea
......@@ -1855,6 +1855,8 @@ public class LatentDangerServiceImpl extends BaseService<LatentDangerBo, LatentD
public Object dangerAudit(LatentDangerDto latentDangerDto, Integer executeType, String userId, String userName,
String deptId, String deptName, ReginParams reginParams) throws Exception {
LatentDanger latentDanger = this.baseMapper.selectById(latentDangerDto.getId());
Bean.copyExistPropertis(latentDangerDto, latentDanger);
latentDanger.setPhotoUrls(Joiner.on(",").join(latentDangerDto.getPhotoUrl()));
if (ValidationUtil.isEmpty(latentDanger)) {
throw new Exception("隐患不存");
}
......
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