Compare commits

...

2 Commits

Author SHA1 Message Date
7632c63185 Merge remote-tracking branch 'origin/0.8.X' into 0.8.X 2026-03-17 10:07:13 +08:00
f8b2d2458c refactor(WmsFurnacePlanService): 移除逻辑库位禁用功能
- 删除了设置仓库为禁用状态的相关代码
- 移除了updateById调用以禁用指定warehouseId的仓库记录
- 简化了炉计划服务中的仓库状态管理逻辑
2026-03-17 10:05:28 +08:00

View File

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