库存查询不传值返回查全部;

This commit is contained in:
王奎兴
2026-02-07 15:57:16 +08:00
parent 67d9da9c5d
commit cad9445ec8
@@ -60,7 +60,8 @@ public class MaterialInventoryImpl extends ServiceImpl<MaterialInventoryMapper,
} else if ("all".equals(queryRule)) {
return materialInventoryMapper.queryList(materialInventoryDO);
} else {
throw new ServiceException("查询规则不存在");
//不传返回全部
return materialInventoryMapper.queryList(materialInventoryDO);
}
}