예제 #1
0
 /// <summary>
 /// 获取指定类型的商品信息
 /// </summary>
 /// <param name="typeID">类型编号</param>
 public DataTable GetCommodityRecord(int typeID)
 {
     if (typeID == -1)
     {
         return(service.AllCommodityRecord());
     }
     else
     {
         return(service.CommodityTypeQuery(typeID));
     }
 }