|
|
|
@ -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);
|
|
|
|
|