| | |
| | | package com.yeshi.fanli.service.inter.push;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.push.PushCouponRecord;
|
| | |
|
| | | public interface PushCouponRecordService {
|
| | |
|
| | | public int deleteByPrimaryKey(Long id);
|
| | |
|
| | | public int insert(PushCouponRecord record);
|
| | |
|
| | | public int insertSelective(PushCouponRecord record);
|
| | |
|
| | | public PushCouponRecord selectByPrimaryKey(Long id);
|
| | |
|
| | | public int updateByPrimaryKeySelective(PushCouponRecord record);
|
| | |
|
| | | public int updateByPrimaryKey(PushCouponRecord record);
|
| | | |
| | | /**
|
| | | * 统计推送领取券数量
|
| | | * @param pushId
|
| | | * @return
|
| | | */
|
| | | public long countByPushId(Long pushId);
|
| | | |
| | | /**
|
| | | * 查询用户的领取券记录
|
| | | * @param pushId
|
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public List<PushCouponRecord> listByUid(Long uid);
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.service.inter.push; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.yeshi.fanli.entity.push.PushCouponRecord; |
| | | |
| | | public interface PushCouponRecordService { |
| | | |
| | | public int deleteByPrimaryKey(Long id); |
| | | |
| | | public int insert(PushCouponRecord record); |
| | | |
| | | public int insertSelective(PushCouponRecord record) throws Exception; |
| | | |
| | | public PushCouponRecord selectByPrimaryKey(Long id); |
| | | |
| | | public int updateByPrimaryKeySelective(PushCouponRecord record); |
| | | |
| | | public int updateByPrimaryKey(PushCouponRecord record); |
| | | |
| | | /** |
| | | * 统计推送领取券数量 |
| | | * @param pushId |
| | | * @return |
| | | */ |
| | | public long countByPushId(Long pushId); |
| | | |
| | | /** |
| | | * 查询用户的领取券记录 |
| | | * @param pushId |
| | | * @param uid |
| | | * @return |
| | | */ |
| | | public List<PushCouponRecord> listByUid(Long uid); |
| | | |
| | | } |