优化商品库存查询逻辑,在没有选择仓库的时候过滤出当前有权限的仓库

This commit is contained in:
季圣华
2023-03-07 22:06:10 +08:00
parent a84b9e8c12
commit 81c065ea5c
4 changed files with 48 additions and 32 deletions

View File

@@ -116,8 +116,8 @@ public interface DepotItemMapperEx {
@Param("beginTime") String beginTime,
@Param("endTime") String endTime);
DepotItemVo4Stock getSkuStockByParam(
@Param("depotId") Long depotId,
DepotItemVo4Stock getSkuStockByParamWithDepotList(
@Param("depotList") List<Long> depotList,
@Param("meId") Long meId,
@Param("beginTime") String beginTime,
@Param("endTime") String endTime);