opt:富佳优化
This commit is contained in:
@@ -665,6 +665,7 @@ public class BeltConveyorDeviceDriver extends AbstractOpcDeviceDriver implements
|
||||
this.requireSucess = true;
|
||||
} else {
|
||||
this.iserror = true;
|
||||
|
||||
message = "申请入库申请异常任务出错,接口返回参数:" + jsonObject;
|
||||
LuceneLogDto logDto2 = LuceneLogDto.builder()
|
||||
.device_code(device_code)
|
||||
@@ -672,11 +673,13 @@ public class BeltConveyorDeviceDriver extends AbstractOpcDeviceDriver implements
|
||||
.build();
|
||||
logDto2.setLog_level(4);
|
||||
luceneExecuteLogService.deviceExecuteLog(logDto2);
|
||||
this.requireSucess = false;
|
||||
}
|
||||
} catch (Exception e) {
|
||||
log.error("设备 {} 调用入库异常处理接口时发生严重错误,参数: {}", device_code, param, e);
|
||||
this.iserror = true;
|
||||
this.message = "入库申请失败,且异常处理流程也发生错误。";
|
||||
this.requireSucess = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user