设备点检bug修复

master
zpl 3 years ago
parent 00517d55d3
commit 02e4b73d06

@ -132,7 +132,9 @@ public class ResourceInspectPlanServiceImpl extends ServiceImpl<ResourceInspectP
equip.setResourceInspectPlanBo(handle);
equip.setCreateUser(user);
equip.setCreatedDateTime(LocalDateTime.now());
equip.setHandle(HandleEnum.RESOURCE_INSPECT_RESOURCE.getHandle(site,handle,equip.getResourceBo()));
String resourceNo = equip.getResourceNo();
String resourceHandle = HandleEnum.RESOURCE.getHandle(site, resourceNo);
equip.setHandle(HandleEnum.RESOURCE_INSPECT_RESOURCE.getHandle(site,handle,resourceHandle));
resourceColl.add(equip);
}
resourceInspectResourceService.saveBatch(resourceColl);

Loading…
Cancel
Save