fix: 诺宝修改

This commit is contained in:
2024-06-25 14:59:13 +08:00
parent a52386ddcb
commit 18cc9ccb61

View File

@@ -746,6 +746,13 @@ public class XianGongAgvServiceImpl implements XianGongAgvService {
map.put("message", "允许放货!");
log.info("允许仙工AGV放货设备号 - {}", deviceCodeNow);
return map;
} else {
LuceneLogDto logDto = LuceneLogDto.builder()
.content("防货分配新的点位为空")
.build();
logDto.setLog_level(4);
luceneExecuteLogService.deviceExecuteLog(logDto);
throw new BadRequestException("防货分配新的点位为空");
}
}
return agvWaitUtil.waitInPut(deviceCodeNow, instructionDto);