Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 

61 строка
1.2 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 offset
  14. * @param limit
  15. * @return
  16. */
  17. PageInfo<WxCouponChannel> listAsPage(WxCouponChannel record, Integer pageIndex, Integer pageSize);
  18. PageInfo<WxCouponChannelVo> listPageCAPI(WxCouponChannel record, Integer pageIndex, Integer pageSize);
  19. List<WxCouponChannelVo> listAPI(WxCouponChannel record);
  20. /**
  21. * 根据Id获得实体
  22. *
  23. * @param id
  24. * @return
  25. */
  26. WxCouponChannel getById(Long id);
  27. /**
  28. * 保存或更新实体
  29. *
  30. * @param record
  31. */
  32. void saveOrUpdate(WxCouponChannel record);
  33. /**
  34. * 根据Id删除实体
  35. *
  36. * @param id
  37. */
  38. void deleteById(Long id);
  39. ResultData addBatch(String[] ids, String[] channelId, String tanantId, Date beginTime, Date endTime);
  40. void updateStatusByCouponId(Long couponId,String tenantId,int status);
  41. }