示例#1
0
 /// <summary>
 /// 获取商品列表
 /// </summary>
 /// <param name="key">关键字</param>
 /// <returns>数据集</returns>
 public DataSet getCommodityList(string key)
 {
     try
     {
         return(dal.getCommodityListByIds(Convert.ToInt32(key)));
     }
     catch
     {
         return(dal.getCommodityListByKey(key));
     }
 }