예제 #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);
 }