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