| | |
| | | |
| | | public interface VipOrederService { |
| | | |
| | | public long count(VipOrder t); |
| | | public long count(VipOrder t); |
| | | |
| | | public List<VipOrder> listByPage(int page, int pageSize, VipOrder t); |
| | | public List<VipOrder> listByPage(int page, int pageSize, VipOrder t); |
| | | |
| | | public void insertSelective(VipOrder t); |
| | | public void insertSelective(VipOrder t); |
| | | |
| | | public void updateByPrimaryKeySelective(VipOrder t); |
| | | public void updateByPrimaryKeySelective(VipOrder t); |
| | | |
| | | public void delete(Long id); |
| | | public void delete(Long id); |
| | | |
| | | public void addOrderByWatchVideo(String uid, Long gradeId, Integer hour) throws VipOrderException; |
| | | |
| | | /** |
| | | * 是否可以 |
| | | * |
| | | * @param uid |
| | | * @return |
| | | */ |
| | | public boolean canAddOrderByWatchVideo(String uid); |
| | | |
| | | |
| | | public void addOrderByBuy(VipOrderDTO t) throws VipOrderException; |
| | | /** |
| | | * 根据三方订单ID查询订单 |
| | | * |
| | | * @param orderId |
| | | * @return |
| | | */ |
| | | public VipOrder selectByThreeOrderId(String orderId); |
| | | |
| | | public void addOrderByWatchVideo(String uid, Long gradeId, Integer validDays) throws VipOrderException; |
| | | |
| | | } |