add:添加日志

This commit is contained in:
zhangzq
2026-02-28 16:15:15 +08:00
parent c947a98cf2
commit 5f2365d1cb
2 changed files with 3 additions and 0 deletions

View File

@@ -160,6 +160,7 @@ public class StandardInspectSiteDeviceDriver extends AbstractOpcDeviceDriver imp
if (this.reqTakeRequireSuccess && ObjectUtil.isNotEmpty(this.reqTakeInstCode)) {
Instruction instruction = instructionService.findByCodeFromCache(this.reqTakeInstCode);
//取货申请
log.info("点位上报状态,{},{}",instruction.getTask_code(),agvphase);
if (ObjectUtil.isNotEmpty(instruction) && StrUtil.equals(instruction.getStart_point_code(), this.devicecode)) {
if (agvphase == 1) {
device = deviceAppService.findDeviceByCode(this.devicecode);

View File

@@ -147,6 +147,8 @@ public class StandardOrdinarySiteDeviceDriver extends AbstractDeviceDriver imple
if (this.reqTakeRequireSuccess && ObjectUtil.isNotEmpty(this.reqTakeInstCode)) {
Instruction instruction = instructionService.findByCodeFromCache(this.reqTakeInstCode);
//取货申请F
log.info("点位上报状态,{},{}",instruction.getTask_code(),agvphase);
if (ObjectUtil.isNotEmpty(instruction) && StrUtil.equals(instruction.getStart_point_code(), this.devicecode)) {
if (agvphase == 1) {
device = deviceAppService.findDeviceByCode(this.devicecode);