refactor(WmsFurnacePlanService): 移除逻辑库位禁用功能
- 删除了设置仓库为禁用状态的相关代码 - 移除了updateById调用以禁用指定warehouseId的仓库记录 - 简化了炉计划服务中的仓库状态管理逻辑
This commit is contained in:
@@ -367,11 +367,6 @@ public class WmsFurnacePlanServiceImpl implements IWmsFurnacePlanService {
|
|||||||
throw new ServiceException("逻辑库位不存在");
|
throw new ServiceException("逻辑库位不存在");
|
||||||
}
|
}
|
||||||
|
|
||||||
WmsWarehouse updateWarehouse = new WmsWarehouse();
|
|
||||||
updateWarehouse.setWarehouseId(warehouseId);
|
|
||||||
updateWarehouse.setIsEnabled(0);
|
|
||||||
warehouseMapper.updateById(updateWarehouse);
|
|
||||||
|
|
||||||
// wmsfurnace_plan_coil也要插入这个去向的逻辑库区
|
// wmsfurnace_plan_coil也要插入这个去向的逻辑库区
|
||||||
WmsFurnacePlanCoil wmsFurnacePlanCoil = planCoilMapper.selectOne(Wrappers.<WmsFurnacePlanCoil>lambdaQuery()
|
WmsFurnacePlanCoil wmsFurnacePlanCoil = planCoilMapper.selectOne(Wrappers.<WmsFurnacePlanCoil>lambdaQuery()
|
||||||
.eq(WmsFurnacePlanCoil::getPlanId, planId)
|
.eq(WmsFurnacePlanCoil::getPlanId, planId)
|
||||||
|
|||||||
Reference in New Issue
Block a user