예제 #1
0
 /// <summary>
 /// 根据条件查询库存分类信息
 /// </summary>
 /// <param name="where">条件</param>
 /// <returns></returns>
 public static IList <TypeInfo> GetTypeListBy(string where)
 {
     return(Remoting.RemoteObject().GetTypeListBy(where));
 }
예제 #2
0
 /// <summary>
 /// 修改库存分类信息
 /// </summary>
 /// <param name="model">库存分类实体</param>
 /// <returns></returns>
 public static int UpdateType(TypeInfo model)
 {
     return(Remoting.RemoteObject().UpdateType(model));
 }
예제 #3
0
 /// <summary>
 /// 删除库存分类信息
 /// </summary>
 /// <param name="id">库存分类id</param>
 /// <returns></returns>
 public static int DelType(int id)
 {
     return(Remoting.RemoteObject().DelType(id));
 }
예제 #4
0
 /// <summary>
 /// 删除修改自定义属性信息
 /// </summary>
 /// <param name="id">自定义属性id</param>
 /// <returns></returns>
 public static int DelAttribute(int id)
 {
     return(Remoting.RemoteObject().DelAttribute(id));
 }
예제 #5
0
 /// <summary>
 /// 添加库存分类信息
 /// </summary>
 /// <param name="model">库存分类实体</param>
 /// <returns></returns>
 public static int AddType(TypeInfo model)
 {
     return(Remoting.RemoteObject().AddType(model));
 }
예제 #6
0
 /// <summary>
 /// 添加库存产品图片
 /// </summary>
 /// <param name="model">库存产品图片实体</param>
 /// <returns></returns>
 public static int AddStockPhoto(StockPhotoInfo model)
 {
     return(Remoting.RemoteObject().AddStockPhoto(model));
 }
예제 #7
0
 /// <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));
 }
예제 #10
0
 /// <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));
 }
예제 #12
0
 /// <summary>
 /// 根据库存信息id查询详细
 /// </summary>
 /// <param name="id">id</param>
 /// <returns></returns>
 public static StockInfo SelectStock(int id)
 {
     return(Remoting.RemoteObject().SelectStock(id));
 }
예제 #13
0
 /// <summary>
 /// 增加点击数
 /// </summary>
 /// <param name="id">库存id</param>
 /// <returns></returns>
 public static int AddHits(int id, int hits)
 {
     return(Remoting.RemoteObject().AddHits(id, hits));
 }
예제 #14
0
 /// <summary>
 /// 修改库存信息
 /// </summary>
 /// <param name="model">库存信息实体</param>
 /// <returns></returns>
 public static int UpdateStock(StockInfo model)
 {
     return(Remoting.RemoteObject().UpdateStock(model));
 }
예제 #15
0
 /// <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));
 }
예제 #17
0
 /// <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));
 }
예제 #19
0
 /// <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));
 }
예제 #21
0
 /// <summary>
 /// 根据ID查询库存产品图片
 /// </summary>
 /// <param name="id">库存ID</param>
 /// <returns></returns>
 public static IList <StockPhotoInfo> GetStockPhotoList(int id)
 {
     return(Remoting.RemoteObject().GetStockPhotoList(id));
 }
예제 #22
0
 /// <summary>
 /// 添加自定义属性信息
 /// </summary>
 /// <param name="model">自定义属性实体</param>
 /// <returns></returns>
 public static int AddAttribute(AttributeInfo model)
 {
     return(Remoting.RemoteObject().AddAttribute(model));
 }