优化商品库存查询接口

This commit is contained in:
季圣华
2021-11-25 01:14:00 +08:00
parent de53f2eb3a
commit 61b40f4726
4 changed files with 45 additions and 22 deletions

View File

@@ -89,7 +89,7 @@ public interface MaterialMapperEx {
List<MaterialVo4Unit> getMaterialByBarCode(@Param("barCodeArray") String [] barCodeArray);
List<MaterialVo4Unit> getListWithStock(
@Param("depotId") Long depotId,
@Param("depotList") List<Long> depotList,
@Param("idList") List<Long> idList,
@Param("materialParam") String materialParam,
@Param("zeroStock") Integer zeroStock,
@@ -99,13 +99,13 @@ public interface MaterialMapperEx {
@Param("rows") Integer rows);
int getListWithStockCount(
@Param("depotId") Long depotId,
@Param("depotList") List<Long> depotList,
@Param("idList") List<Long> idList,
@Param("materialParam") String materialParam,
@Param("zeroStock") Integer zeroStock);
MaterialVo4Unit getTotalStockAndPrice(
@Param("depotId") Long depotId,
@Param("depotList") List<Long> depotList,
@Param("idList") List<Long> idList,
@Param("materialParam") String materialParam);