using Library; using MySystem.Service.Main; using System; using System.Collections.Generic; namespace MySystem { /// /// 小仓库工具类 /// public class SmallStoreHouseUtil { #region 修改小仓库库存 /// /// 修改小仓库库存 /// /// 小仓库Id /// 剩余可申请数 /// 已申请数 public static void EditStoreStock(int StoreId, int LaveNum, int TotalNum) { Dictionary storeData = new Dictionary(); storeData.Add("LaveNum", LaveNum); storeData.Add("OutNum", TotalNum); SmallStoreHouseService.Edit(storeData, StoreId); } #endregion } }