wang.sq@aliyun.com 1 settimana fa
parent
commit
c877e0c638

+ 1 - 1
imcs-admin-boot/imcs-business-biz/src/main/java/com/github/zuihou/business/productionResourceCenter/strategy/impl/ToolRobotStrategy.java

@@ -157,7 +157,7 @@ public class ToolRobotStrategy implements RobotStrategy {
                 //机床内刀具库位信息同步到机床待取位
                 CuttingTool cuttingTool = cuttingToolService.getOne(new LbqWrapper<CuttingTool>().eq(CuttingTool::getCutterNo, orderTask.getCutStartNo()));
                 if(cuttingTool == null){
-                    throw new RuntimeException("刀具点位与刀具信息点位数据不对,起始刀位号:"+orderTask.getCutStartNo());
+                    throw new RuntimeException("刀具点位与刀具信息点位数据不对,起始点位,"+startStore.getPointId()+";起始刀位号:"+orderTask.getCutStartNo());
                 }
                 StockInfo one = stockInfoService.getOne(new LbqWrapper<StockInfo>().eq(StockInfo::getGoodsId, cuttingTool.getId()));
                 if(one !=null){