|
@@ -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){
|