Пример #1
0
 public static List<Product> getProductListByStatus(byte statusLeft, byte statusRight) {
   return ProductFacade.getProductListByStatus(statusLeft, statusRight);
 }
Пример #2
0
 public static List<Product> getProductListWithNoPaging(ProductCondition productCondition) {
   return ProductFacade.getProductListWithNoPaging(productCondition);
 }
Пример #3
0
 public static int updateReduceRemainAmountAndRemainSmall(int id, long remainAmount) {
   return ProductFacade.updateReduceRemainAmountAndRemainSmall(id, remainAmount);
 }
Пример #4
0
 // 更新创建时间
 public static int updateStartTime(int id, Date start) {
   return ProductFacade.updateStartTime(id, start);
 }
Пример #5
0
 public static List<Product> getProductByTypeAndStatus(byte type, byte status) {
   return ProductFacade.getProductByTypeAndStatus(type, status);
 }
Пример #6
0
 public static int add(Product product) {
   int id = ProductFacade.add(product);
   FlushCacheHelper.flushProductCache();
   return id;
 }
Пример #7
0
 public static int updateStatusAndTime(Product product) {
   return ProductFacade.updateStatusAndTime(product);
 }
Пример #8
0
 public static int updateManager(int id, int emp) {
   return ProductFacade.updateManager(id, emp);
 }
Пример #9
0
 public static int updateBasicInfo(Product product) {
   return ProductFacade.updateBasicInfo(product);
 }
Пример #10
0
 public static List<Product> getListByType(byte type) {
   return ProductFacade.getListByType(type);
 }
Пример #11
0
 public static int updateStatus(int id, byte status) {
   return ProductFacade.updateStatus(id, status);
 }
Пример #12
0
 public static Product getInfo(int id) {
   return ProductFacade.getInfo(id);
 }
Пример #13
0
 public static List<Product> getList() {
   return ProductFacade.getList();
 }
Пример #14
0
 public static int update(Product product) {
   return ProductFacade.update(product);
 }
Пример #15
0
 public static int updateAddRemainAmount(int productNo, long money) {
   return ProductFacade.updateAddRemainAmount(productNo, money);
 }
Пример #16
0
 // 取消订单
 public static int updateReRemain(Product product) {
   return ProductFacade.updateReRemain(product);
 }
Пример #17
0
 public static Product getInfoByActivitiNo(String activitiNo) {
   return ProductFacade.getInfoByActivitiNo(activitiNo);
 }
Пример #18
0
 public static PagedList<Product> getPagingList(ProductCondition productCondition) {
   return ProductFacade.getPagingList(productCondition);
 }