|
@@ -250,9 +250,12 @@ public class ZEngineeringIndustryServiceImpl implements IZEngineeringIndustrySer
|
|
|
photoService.insertBatch(list);
|
|
|
}
|
|
|
}
|
|
|
- bo.getzEngineeringNodeBo().setCivliId(bo.getId());
|
|
|
- bo.getzEngineeringNodeBo().setType(bo.getType());
|
|
|
- izEngineeringNodeService.update(bo.getzEngineeringNodeBo());
|
|
|
+ bo.getzEngineeringNodeBoList().stream().forEach(item->{
|
|
|
+ item.setCivliId(bo.getId());
|
|
|
+ item.setCreateTime(bo.getCreateTime());
|
|
|
+ item.setType(bo.getType());
|
|
|
+ izEngineeringNodeService.updateMuch(item);
|
|
|
+ });
|
|
|
return flag;
|
|
|
}
|
|
|
|
|
@@ -269,9 +272,7 @@ public class ZEngineeringIndustryServiceImpl implements IZEngineeringIndustrySer
|
|
|
*/
|
|
|
@Override
|
|
|
public Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid) {
|
|
|
- if (isValid) {
|
|
|
- //TODO 做一些业务上的校验,判断是否需要校验
|
|
|
- }
|
|
|
+
|
|
|
ids.forEach(item -> {
|
|
|
// 查询数据库中已存在的文件列表
|
|
|
ZEngiineeringPhotoBo zEngiineeringPhotoBo = new ZEngiineeringPhotoBo();
|