|
- package com.simple.service;
-
- import com.github.pagehelper.PageInfo;
- import com.simple.common.ResultData;
- import com.simple.domain.po.WxCouponChannel;
- import com.simple.domain.vo.WxCouponChannelVo;
-
- import java.util.Date;
- import java.util.List;
-
- public interface WxCouponChannelService {
-
- /**
- * 根据实体查询分页列表
- *
- * @param record
- * @param pageIndex
- * @param pageSize
- * @return
- */
- PageInfo<WxCouponChannel> listAsPage(WxCouponChannel record, Integer pageIndex, Integer pageSize);
-
- /**
- * 根据实体查询Vo分页列表
- *
- * @param record
- * @param pageIndex
- * @param pageSize
- * @return
- */
- PageInfo<WxCouponChannelVo> listPageCAPI(WxCouponChannel record, Integer pageIndex, Integer pageSize);
-
- /**
- * 根据实体查询Vo分页列表
- *
- * @param record
- * @return
- */
- List<WxCouponChannelVo> listAPI(WxCouponChannel record);
-
- /**
- * 根据Id获得实体
- *
- * @param id
- * @return
- */
- WxCouponChannel getById(Long id);
-
- /**
- * 保存或更新实体
- *
- * @param record
- */
- void saveOrUpdate(WxCouponChannel record);
-
- /**
- * 根据Id删除实体
- *
- * @param id
- */
- void deleteById(Long id);
-
- ResultData addBatch(String[] ids, String[] channelId, String tanantId, Date beginTime, Date endTime);
-
- void updateStatusByCouponId(Long couponId,String tenantId,int status);
-
-
-
-
-
-
-
-
- }
|