优化商品库存报表的查询逻辑

This commit is contained in:
季圣华
2022-05-31 00:19:41 +08:00
parent e8fdc83994
commit ad4b2265d1
5 changed files with 59 additions and 10 deletions

View File

@@ -1034,6 +1034,10 @@ public class MaterialService {
return materialMapperEx.getMaterialByBarCodeAndWithOutMId(barCodeArray, mId);
}
public List<MaterialInitialStockWithMaterial> getInitialStockWithMaterial(List<Long> depotList) {
return materialMapperEx.getInitialStockWithMaterial(depotList);
}
public List<MaterialVo4Unit> getListWithStock(List<Long> depotList, List<Long> idList, String materialParam, Integer zeroStock,
String column, String order, Integer offset, Integer rows) {
return materialMapperEx.getListWithStock(depotList, idList, materialParam, zeroStock, column, order, offset, rows);