/// <summary> /// 添加新品返回ID ---DS2012 /// </summary> /// <param name="productModel"></param> /// <returns>返回添加新品所影响的行数</returns> public static int AddProduct(SqlTransaction tran, ProductModel productModel) { return(ProductDAL.AddProductItem(tran, productModel)); }