|
@ -14,6 +14,7 @@ import org.nl.wms.database.vehicle.service.dao.MdBaseVehicle; |
|
|
import org.nl.wms.ext.acs.service.dto.to.BaseResponse; |
|
|
import org.nl.wms.ext.acs.service.dto.to.BaseResponse; |
|
|
import org.nl.wms.ext.fab.service.dto.CallMaterVo; |
|
|
import org.nl.wms.ext.fab.service.dto.CallMaterVo; |
|
|
import org.nl.wms.sch.group.service.ISchBaseVehiclematerialgroupService; |
|
|
import org.nl.wms.sch.group.service.ISchBaseVehiclematerialgroupService; |
|
|
|
|
|
import org.nl.wms.sch.group.service.dao.SchBaseVehiclematerialgroup; |
|
|
import org.nl.wms.sch.point.service.ISchBasePointService; |
|
|
import org.nl.wms.sch.point.service.ISchBasePointService; |
|
|
import org.nl.wms.sch.point.service.dao.SchBasePoint; |
|
|
import org.nl.wms.sch.point.service.dao.SchBasePoint; |
|
|
import org.nl.wms.sch.task.service.ISchBaseTaskService; |
|
|
import org.nl.wms.sch.task.service.ISchBaseTaskService; |
|
@ -50,6 +51,8 @@ public class PcOperationCMTask extends AbstractTask { |
|
|
private ISchBasePointService schBasePointService; |
|
|
private ISchBasePointService schBasePointService; |
|
|
@Autowired |
|
|
@Autowired |
|
|
private IMdBaseVehicleService iMdBaseVehicleService; |
|
|
private IMdBaseVehicleService iMdBaseVehicleService; |
|
|
|
|
|
@Autowired |
|
|
|
|
|
private ISchBaseVehiclematerialgroupService iSchBaseVehiclematerialgroupService; |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
protected void create() throws BadRequestException { |
|
|
protected void create() throws BadRequestException { |
|
@ -155,6 +158,9 @@ public class PcOperationCMTask extends AbstractTask { |
|
|
PointUtils.setUpdateByAcs(schBasePoint); |
|
|
PointUtils.setUpdateByAcs(schBasePoint); |
|
|
schBasePointService.updateById(schBasePoint); |
|
|
schBasePointService.updateById(schBasePoint); |
|
|
} |
|
|
} |
|
|
|
|
|
iSchBaseVehiclematerialgroupService.update(Wrappers.lambdaUpdate(SchBaseVehiclematerialgroup.class) |
|
|
|
|
|
.eq(SchBaseVehiclematerialgroup::getVehicle_code, taskObj.getVehicle_code()) |
|
|
|
|
|
.set(SchBaseVehiclematerialgroup::getIs_delete, false)); |
|
|
// 获取参数
|
|
|
// 获取参数
|
|
|
taskObj.setTask_status(TaskStatus.CANCELED.getCode()); |
|
|
taskObj.setTask_status(TaskStatus.CANCELED.getCode()); |
|
|
taskObj.setRemark(GeneralDefinition.TASK_CANCEL); |
|
|
taskObj.setRemark(GeneralDefinition.TASK_CANCEL); |
|
|