Browse Source

导入设备时,巡检内容的创建部门需要和设备的所属站点相同

zhongwei
tanghaihao 1 year ago
parent
commit
690266ab6b
  1. 1
      hzims-service/equipment/src/main/java/com/hnac/hzims/equipment/service/impl/EmInfoServiceImpl.java

1
hzims-service/equipment/src/main/java/com/hnac/hzims/equipment/service/impl/EmInfoServiceImpl.java

@ -836,6 +836,7 @@ public class EmInfoServiceImpl extends BaseServiceImpl<EmInfoMapper, EmInfoEntit
dto.setModelSignage(emTreeInspect.getModelSignage()); dto.setModelSignage(emTreeInspect.getModelSignage());
dto.setAttrSignage(emTreeInspect.getModelAttrSignage()); dto.setAttrSignage(emTreeInspect.getModelAttrSignage());
dto.setAttrName(emTreeInspect.getModelAttrName()); dto.setAttrName(emTreeInspect.getModelAttrName());
dto.setCreateDept(emInfo.getDepartment());
dto.setId(null); dto.setId(null);
contentDTOList.add(dto); contentDTOList.add(dto);
} }

Loading…
Cancel
Save