admin
2025-02-25 30d8e227e8d823b6c38c3b9c90ac2df03b63befe
fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushCouponRecordService.java
@@ -1,36 +1,36 @@
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);
}