修复错误

This commit is contained in:
2025-11-11 23:16:49 +08:00
parent d9dc96b8b9
commit 6bde071842

View File

@@ -69,7 +69,7 @@ public class WmsStockServiceImpl implements IWmsStockService {
qw.eq("mc.del_flag", 0);
qw.eq("mc.data_type", 1);
qw.eq("mc.status", 0);
qw.eq("mc.material_type", "成品").or().eq("mc.product_type", "原料");
qw.in("mc.material_type", Arrays.asList("成品", "原料"));
// 处理仓库ID查询支持递归查询子节点
if (bo.getActualWarehouseId() != null) {
List<Long> warehouseIds = getActualWarehouseIdsWithChildren(bo.getActualWarehouseId());