/// <summary> /// 根据条件查询库存分类信息 /// </summary> /// <param name="where">条件</param> /// <returns></returns> public static IList <TypeInfo> GetTypeListBy(string where) { return(Remoting.RemoteObject().GetTypeListBy(where)); }
/// <summary> /// 修改库存分类信息 /// </summary> /// <param name="model">库存分类实体</param> /// <returns></returns> public static int UpdateType(TypeInfo model) { return(Remoting.RemoteObject().UpdateType(model)); }
/// <summary> /// 删除库存分类信息 /// </summary> /// <param name="id">库存分类id</param> /// <returns></returns> public static int DelType(int id) { return(Remoting.RemoteObject().DelType(id)); }
/// <summary> /// 删除修改自定义属性信息 /// </summary> /// <param name="id">自定义属性id</param> /// <returns></returns> public static int DelAttribute(int id) { return(Remoting.RemoteObject().DelAttribute(id)); }
/// <summary> /// 添加库存分类信息 /// </summary> /// <param name="model">库存分类实体</param> /// <returns></returns> public static int AddType(TypeInfo model) { return(Remoting.RemoteObject().AddType(model)); }
/// <summary> /// 添加库存产品图片 /// </summary> /// <param name="model">库存产品图片实体</param> /// <returns></returns> public static int AddStockPhoto(StockPhotoInfo model) { return(Remoting.RemoteObject().AddStockPhoto(model)); }
/// <summary> /// 删除库存产品图片 /// </summary> /// <param name="id">库存ID</param> /// <returns></returns> public static int DelStockPhoto(int id) { return(Remoting.RemoteObject().DelStockPhoto(id)); }
/// <summary> /// 删除修改自定义属性值信息 /// </summary> /// <param name="id">自定义属性值id</param> /// <returns></returns> public static int DelAttributeValues(string where) { return(Remoting.RemoteObject().DelAttributeValues(where)); }
/// <summary> /// 根据库存信息id查询详细 /// </summary> /// <param name="id">id</param> /// <returns></returns> public static AttributeValueInfo SelectAttributeValues(int id) { return(Remoting.RemoteObject().SelectAttributeValues(id)); }
/// <summary> /// 根据条件查询库存信息 /// </summary> /// <param name="where">条件</param> /// <returns></returns> public static IList <StockInfo> GetStockListBy(string where) { return(Remoting.RemoteObject().GetStockListBy(where)); }
/// <summary> /// 修改自定义属性信息 /// </summary> /// <param name="model">自定义属性实体</param> /// <returns></returns> public static int UpdateAttributeValues(AttributeValueInfo model) { return(Remoting.RemoteObject().UpdateAttributeValues(model)); }
/// <summary> /// 根据库存信息id查询详细 /// </summary> /// <param name="id">id</param> /// <returns></returns> public static StockInfo SelectStock(int id) { return(Remoting.RemoteObject().SelectStock(id)); }
/// <summary> /// 增加点击数 /// </summary> /// <param name="id">库存id</param> /// <returns></returns> public static int AddHits(int id, int hits) { return(Remoting.RemoteObject().AddHits(id, hits)); }
/// <summary> /// 修改库存信息 /// </summary> /// <param name="model">库存信息实体</param> /// <returns></returns> public static int UpdateStock(StockInfo model) { return(Remoting.RemoteObject().UpdateStock(model)); }
/// <summary> /// 根据条件获取库存分类信息并分页 /// </summary> /// <param name="pageSize">每页显示几条</param> /// <param name="pageStart">当前第几页</param> /// <param name="where">查询条件</param> /// <param name="orderString">排序字段</param> /// <returns></returns> public static IList <TypeInfo> GetTypeListPage(int pageSize, int pageStart, string where, string orderString) { return(Remoting.RemoteObject().GetTypeListPage(pageSize, pageStart, where, orderString)); }
/// <summary> /// 根据条件查询自定义属性信息 /// </summary> /// <param name="where">条件</param> /// <returns></returns> public static IList <AttributeValueInfo> GetAttributeValueListBy(string where) { return(Remoting.RemoteObject().GetAttributeValueListBy(where)); }
/// <summary> /// 统计符合条件总数库存信息 /// </summary> /// <param name="condition">查询条件</param> /// <returns></returns> public static int GetTypeCount(string condition) { return(Remoting.RemoteObject().GetTypeCount(condition)); }
/// <summary> /// 根据条件获取自定义属性信息并分页 /// </summary> /// <param name="pageSize">每页显示几条</param> /// <param name="pageStart">当前第几页</param> /// <param name="where">查询条件</param> /// <param name="orderString">排序字段</param> /// <returns></returns> public static IList <AttributeValueInfo> GetAttributeValuesList(int pageSize, int pageStart, string where, string orderString) { return(Remoting.RemoteObject().GetAttributeValuesList(pageSize, pageStart, where, orderString)); }
/// <summary> /// 修改库存产品图片 /// </summary> /// <param name="id">库存ID</param> /// <returns></returns> public int UpdateStockPhoto(int id, int cover) { return(Remoting.RemoteObject().UpdateStockPhoto(id, cover)); }
/// <summary> /// 统计符合条件总数(自定义属性信息) /// </summary> /// <param name="condition">查询条件</param> /// <returns></returns> public static int GetAttributeValueCount(string condition) { return(Remoting.RemoteObject().GetAttributeValueCount(condition)); }
/// <summary> /// 根据ID查询库存产品图片 /// </summary> /// <param name="id">库存ID</param> /// <returns></returns> public static IList <StockPhotoInfo> GetStockPhotoList(int id) { return(Remoting.RemoteObject().GetStockPhotoList(id)); }
/// <summary> /// 添加自定义属性信息 /// </summary> /// <param name="model">自定义属性实体</param> /// <returns></returns> public static int AddAttribute(AttributeInfo model) { return(Remoting.RemoteObject().AddAttribute(model)); }