标签:修改 bsp new database man blog class 四十 toc
产品添加批号后相应修改产品库存表中对应批次产品的数量:
/// <summary> /// 产品添加批号后相应修改产品库存表中对应批次产品的数量 /// </summary> /// <param name="stockproid">库存表主键编号</param> /// <param name="procount">发货的数量</param> /// <returns>int</returns> public static int BioProStockUpdateCount(int stockproid, int procount) { SqlParameter[] pars = new SqlParameter[]{ new SqlParameter("@ID",stockproid), new SqlParameter("@ProCout",procount) }; return DataBaseHelper.ExcuteSqlReturnInt("BioProStockUpdateCount", CommandType.StoredProcedure, pars); }
标签:修改 bsp new database man blog class 四十 toc
原文地址:http://www.cnblogs.com/sunliyuan/p/7668731.html