Browse Source

Merge branch 'master' of http://106.14.142.95:3000/oyq28/imcs_331

oyq28 1 week ago
parent
commit
317f35b221

+ 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()));
                 CuttingTool cuttingTool = cuttingToolService.getOne(new LbqWrapper<CuttingTool>().eq(CuttingTool::getCutterNo, orderTask.getCutStartNo()));
                 if(cuttingTool == null){
                 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()));
                 StockInfo one = stockInfoService.getOne(new LbqWrapper<StockInfo>().eq(StockInfo::getGoodsId, cuttingTool.getId()));
                 if(one !=null){
                 if(one !=null){