update:
bug修改
This commit is contained in:
parent
fbdb10ace7
commit
40f44f57d9
@ -132,7 +132,7 @@ public class CurrTaskController extends BaseController {
|
||||
//currTaskById.setSheetNo(sheetNo);
|
||||
//currTaskService.updateCurrTaskById(currTaskById);
|
||||
//生成详细任务中的检验结果数据在apms推送生产单结果时创建
|
||||
return successful(0,"创建成功,任务添加至等待执行队列。","");
|
||||
return successful(0,"创建成功,任务添加至等待执行队列。详情请在订单加工管理下当前任务列表查看","");
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
@ -256,7 +256,7 @@ public class CurrTaskController extends BaseController {
|
||||
//}
|
||||
//i++;
|
||||
}
|
||||
return successful(0,"操作成功,任务加入待执行队列","");
|
||||
return successful(0,"操作成功,任务加入待执行队列,详情请在订单加工管理下当前任务列表查看!","");
|
||||
}
|
||||
|
||||
@PostMapping(value = "mainCurrentTaskNow")
|
||||
|
@ -165,7 +165,7 @@ public class OrderInfoServiceImpl extends BaseService implements OrderInfoServic
|
||||
BeanUtils.copyProperties(byId, build);
|
||||
R<OrderInfoVo> info = getTaskInfoByIdenCardNum(build.getIdenCardNum());
|
||||
build.setFinishWeight(info.getData().getFinishWeight());
|
||||
build.setFinishQuantity(info.getData().getQuantity());
|
||||
build.setFinishQuantity(info.getData().getFinishQuantity());
|
||||
build.setWaitWeight(info.getData().getWaitWeight());
|
||||
build.setWaitQuantity(info.getData().getWaitQuantity());
|
||||
build.setReProcessQuantity(info.getData().getReProcessQuantity());
|
||||
|
@ -1392,7 +1392,7 @@ public class AsynRunTaskService extends BaseService {
|
||||
//两辆小车是否冲突
|
||||
Boolean conflictBoolean = taskDistanceUtils.conflictForVehicle(vehicleId, currTask.getStartPosition(), currTask.getTargetPosition(), rgv1CurrPosition);
|
||||
if (conflictBoolean){
|
||||
Integer status = moveRgv(1, currTaskId, 39,0);
|
||||
Integer status = moveRgv(1, currTaskId, 12,0);
|
||||
logger.info(status.toString());
|
||||
if (status!=1){
|
||||
logger.info("===执行任务:"+currTaskId+" 时车辆位置冲突,执行车辆位移任务,车辆"+anotherVehicleId+"移动到点位12,执行失败===");
|
||||
|
Loading…
Reference in New Issue
Block a user