public static List<Product> getProductListByStatus(byte statusLeft, byte statusRight) { return ProductFacade.getProductListByStatus(statusLeft, statusRight); }
public static List<Product> getProductListWithNoPaging(ProductCondition productCondition) { return ProductFacade.getProductListWithNoPaging(productCondition); }
public static int updateReduceRemainAmountAndRemainSmall(int id, long remainAmount) { return ProductFacade.updateReduceRemainAmountAndRemainSmall(id, remainAmount); }
// 更新创建时间 public static int updateStartTime(int id, Date start) { return ProductFacade.updateStartTime(id, start); }
public static List<Product> getProductByTypeAndStatus(byte type, byte status) { return ProductFacade.getProductByTypeAndStatus(type, status); }
public static int add(Product product) { int id = ProductFacade.add(product); FlushCacheHelper.flushProductCache(); return id; }
public static int updateStatusAndTime(Product product) { return ProductFacade.updateStatusAndTime(product); }
public static int updateManager(int id, int emp) { return ProductFacade.updateManager(id, emp); }
public static int updateBasicInfo(Product product) { return ProductFacade.updateBasicInfo(product); }
public static List<Product> getListByType(byte type) { return ProductFacade.getListByType(type); }
public static int updateStatus(int id, byte status) { return ProductFacade.updateStatus(id, status); }
public static Product getInfo(int id) { return ProductFacade.getInfo(id); }
public static List<Product> getList() { return ProductFacade.getList(); }
public static int update(Product product) { return ProductFacade.update(product); }
public static int updateAddRemainAmount(int productNo, long money) { return ProductFacade.updateAddRemainAmount(productNo, money); }
// 取消订单 public static int updateReRemain(Product product) { return ProductFacade.updateReRemain(product); }
public static Product getInfoByActivitiNo(String activitiNo) { return ProductFacade.getInfoByActivitiNo(activitiNo); }
public static PagedList<Product> getPagingList(ProductCondition productCondition) { return ProductFacade.getPagingList(productCondition); }