设备维修提报bug修复

master
zpl 3 years ago
parent 5303fa0e7a
commit a871eb28d8

@ -140,8 +140,10 @@ public class ResourceRepairTaskServiceImpl extends ServiceImpl<ResourceRepairTas
throw BusinessException.build("提报人不能为空!!!");
}
//调用方法,关闭异常单的状态
anomalyService.anomalyReveseRepairShutDown(resourceRepairTask.getObjectBo());
String objectBo = resourceRepairTask.getObjectBo();
if (objectBo != null){
anomalyService.anomalyReveseRepairShutDown(objectBo);
}
resourceRepairTask.setCreateUser(reportUser);
resourceRepairTask.setCreatedDateTime(LocalDateTime.now());

Loading…
Cancel
Save