From 81da61b828e29b7745e1382dfbbaeb685dc083ef Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 23 一月 2024 17:17:55 +0800 Subject: [PATCH] 抖音转链修改 --- fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserSystemCouponGiveRecordService.java | 139 ++++++++++++++++++++++++++------------------- 1 files changed, 80 insertions(+), 59 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserSystemCouponGiveRecordService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserSystemCouponGiveRecordService.java index 0d8b6ba..51fa2b4 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserSystemCouponGiveRecordService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserSystemCouponGiveRecordService.java @@ -1,59 +1,80 @@ -package com.yeshi.fanli.service.inter.user; - -import java.util.List; - -import com.yeshi.fanli.entity.bus.user.UserSystemCouponGiveRecord; - -public interface UserSystemCouponGiveRecordService { - - public void insertSelective(UserSystemCouponGiveRecord record); - - /** - * 鏇存柊棰嗗彇璁板綍 - * @param receiveUid - * @param giveUid - * @param couponId - */ - public void updateByPrimaryKeySelective(UserSystemCouponGiveRecord giveRecord); - - - /** - * 鏌ヨ璧犻�佽褰� - * @param giveUid - * @param couponId - * @return - */ - public UserSystemCouponGiveRecord getRecordByUidAndCouponId(Long giveUid, Long couponId); - - - /** - * 鏈鍙栭��鍥炲埜 - * @param count - * @return - */ - public List<UserSystemCouponGiveRecord> overdueList(int count); - - - /** - * id鏌ヨ - * @param id - * @return - */ - public UserSystemCouponGiveRecord selectByPrimaryKey(Long id); - - /** - * 璧犻�侀渶閫�鍥� - * @param uid - * @return - */ - public List<UserSystemCouponGiveRecord> overdueListByUser(Long uid); - - - /** - * 棰嗗彇鐨刬d - * @param count - * @return - */ - UserSystemCouponGiveRecord getByReceiveId(Long receiveId); - -} +package com.yeshi.fanli.service.inter.user; + +import java.util.List; + +import com.yeshi.fanli.entity.bus.user.UserSystemCouponGiveRecord; + +public interface UserSystemCouponGiveRecordService { + + public void insertSelective(UserSystemCouponGiveRecord record); + + /** + * 鏇存柊棰嗗彇璁板綍 + * @param receiveUid + * @param giveUid + * @param couponId + */ + public void updateByPrimaryKeySelective(UserSystemCouponGiveRecord giveRecord); + + + /** + * 鏌ヨ璧犻�佽褰� + * @param giveUid + * @param couponId + * @return + */ + public UserSystemCouponGiveRecord getRecordByUidAndCouponId(Long giveUid, Long couponId); + + + /** + * 鏈鍙栭��鍥炲埜 + * @param count + * @return + */ + public List<UserSystemCouponGiveRecord> overdueList(int count); + + + /** + * id鏌ヨ + * @param id + * @return + */ + public UserSystemCouponGiveRecord selectByPrimaryKey(Long id); + + /** + * 璧犻�侀渶閫�鍥� + * @param uid + * @return + */ + public List<UserSystemCouponGiveRecord> overdueListByUser(Long uid); + + + /** + * 棰嗗彇鐨刬d + * @param count + * @return + */ + public UserSystemCouponGiveRecord getByReceiveId(Long receiveId); + + /** + * 鏌ヨ鍒歌禒閫佷俊鎭� + * @param couponId + * @return + */ + public UserSystemCouponGiveRecord getByCouponId(Long couponId); + + + + /** + * 鏌ヨ璧犻�佽褰� + * @param start + * @param count + * @param type + * @param state + * @return + */ + public List<UserSystemCouponGiveRecord> listGiveRecord(long start, int count, String type, Integer state); + + public long countGiveRecord(String type, Integer state); + +} -- Gitblit v1.8.0