You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

75 lines
1.5 KiB

  1. package com.simple.service;
  2. import com.github.pagehelper.PageInfo;
  3. import com.simple.common.ResultData;
  4. import com.simple.domain.po.WxCouponChannel;
  5. import com.simple.domain.vo.WxCouponChannelVo;
  6. import java.util.Date;
  7. import java.util.List;
  8. public interface WxCouponChannelService {
  9. /**
  10. * 根据实体查询分页列表
  11. *
  12. * @param record
  13. * @param pageIndex
  14. * @param pageSize
  15. * @return
  16. */
  17. PageInfo<WxCouponChannel> listAsPage(WxCouponChannel record, Integer pageIndex, Integer pageSize);
  18. /**
  19. * 根据实体查询Vo分页列表
  20. *
  21. * @param record
  22. * @param pageIndex
  23. * @param pageSize
  24. * @return
  25. */
  26. PageInfo<WxCouponChannelVo> listPageCAPI(WxCouponChannel record, Integer pageIndex, Integer pageSize);
  27. /**
  28. * 根据实体查询Vo分页列表
  29. *
  30. * @param record
  31. * @return
  32. */
  33. List<WxCouponChannelVo> listAPI(WxCouponChannel record);
  34. /**
  35. * 根据Id获得实体
  36. *
  37. * @param id
  38. * @return
  39. */
  40. WxCouponChannel getById(Long id);
  41. /**
  42. * 保存或更新实体
  43. *
  44. * @param record
  45. */
  46. void saveOrUpdate(WxCouponChannel record);
  47. /**
  48. * 根据Id删除实体
  49. *
  50. * @param id
  51. */
  52. void deleteById(Long id);
  53. ResultData addBatch(String[] ids, String[] channelId, String tanantId, Date beginTime, Date endTime);
  54. void updateStatusByCouponId(Long couponId,String tenantId,int status);
  55. }