|
@ -173,11 +173,10 @@ public class YCLCKTask extends AbstractTask { |
|
|
String vehicleCode2 = taskObj.getVehicle_code2(); |
|
|
String vehicleCode2 = taskObj.getVehicle_code2(); |
|
|
SchBaseVehiclematerialgroup one = vehiclematerialgroupService.getOne(new LambdaQueryWrapper<SchBaseVehiclematerialgroup>() |
|
|
SchBaseVehiclematerialgroup one = vehiclematerialgroupService.getOne(new LambdaQueryWrapper<SchBaseVehiclematerialgroup>() |
|
|
.eq(SchBaseVehiclematerialgroup::getVehicle_code, vehicleCode) |
|
|
.eq(SchBaseVehiclematerialgroup::getVehicle_code, vehicleCode) |
|
|
|
|
|
.eq(SchBaseVehiclematerialgroup::getPoint_code, startPoint) |
|
|
.eq(SchBaseVehiclematerialgroup::getGroup_bind_material_status, |
|
|
.eq(SchBaseVehiclematerialgroup::getGroup_bind_material_status, |
|
|
GroupBindMaterialStatusEnum.BOUND.getValue())); |
|
|
GroupBindMaterialStatusEnum.BOUND.getValue())); |
|
|
if (ObjectUtil.isNotEmpty(one)) { |
|
|
if (ObjectUtil.isNotEmpty(one)) { |
|
|
// throw new BadRequestException(vehicleCode + " => " + startPointObj.getVehicle_type() + "的组盘信息未找到");
|
|
|
|
|
|
// }
|
|
|
|
|
|
one.setTask_code(taskObj.getTask_code()); |
|
|
one.setTask_code(taskObj.getTask_code()); |
|
|
one.setPoint_code(endPointObj.getPoint_code()); // 当前位置
|
|
|
one.setPoint_code(endPointObj.getPoint_code()); // 当前位置
|
|
|
one.setPoint_name(endPointObj.getPoint_name()); |
|
|
one.setPoint_name(endPointObj.getPoint_name()); |
|
@ -194,8 +193,6 @@ public class YCLCKTask extends AbstractTask { |
|
|
.eq(SchBaseVehiclematerialgroup::getGroup_bind_material_status, |
|
|
.eq(SchBaseVehiclematerialgroup::getGroup_bind_material_status, |
|
|
GroupBindMaterialStatusEnum.BOUND.getValue())); |
|
|
GroupBindMaterialStatusEnum.BOUND.getValue())); |
|
|
if (ObjectUtil.isNotEmpty(one)) { |
|
|
if (ObjectUtil.isNotEmpty(one)) { |
|
|
// throw new BadRequestException(vehicleCode + " => " + startPointObj.getVehicle_type() + "的组盘信息未找到");
|
|
|
|
|
|
// }
|
|
|
|
|
|
one.setTask_code(taskObj.getTask_code()); |
|
|
one.setTask_code(taskObj.getTask_code()); |
|
|
one.setPoint_code(endPointObj.getPoint_code()); // 当前位置
|
|
|
one.setPoint_code(endPointObj.getPoint_code()); // 当前位置
|
|
|
one.setPoint_name(endPointObj.getPoint_name()); |
|
|
one.setPoint_name(endPointObj.getPoint_name()); |
|
|