feat(wms): 新增查询二级库区树结构功能

- 在 IWmsActualWarehouseService 接口中新增 queryTreeExcludeLevelThree 方法
- 在 WmsActualWarehouseController 中添加 /levelTwo 接口用于获取二级库区树
- 实现 queryTreeExcludeLevelThree 方法逻辑,过滤掉三级库位节点
- 构建查询条件时排除 actualWarehouseType 为 3 的记录
- 组装树形结构时只保留两级目录关系
This commit is contained in:
2025-11-25 10:41:04 +08:00
parent a7fac2e9e6
commit 5d4eac555a
3 changed files with 45 additions and 0 deletions

View File

@@ -57,4 +57,6 @@ public interface IWmsActualWarehouseService {
* 校验并批量删除实际库区/库位自关联信息
*/
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
List<WmsActualWarehouseTreeVo> queryTreeExcludeLevelThree(WmsActualWarehouseBo bo);
}