| | |
| | | package com.yeshi.fanli.dao.mybatis.integral; |
| | | |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import com.yeshi.fanli.dao.BaseMapper; |
| | | import com.yeshi.fanli.entity.integral.IntegralExchangeRecord; |
| | | |
| | | public interface IntegralExchangeRecordMapper extends BaseMapper<IntegralExchangeRecord> { |
| | | |
| | | |
| | | /** |
| | | * 统计今日兑换情况 |
| | | * @param list |
| | | * @return |
| | | */ |
| | | long countRecordByUid(@Param("exchangeId") Long exchangeId, @Param("uid") Long uid); |
| | | |
| | | package com.yeshi.fanli.dao.mybatis.integral;
|
| | |
|
| | | import org.apache.ibatis.annotations.Param;
|
| | |
|
| | | import com.yeshi.fanli.dao.BaseMapper;
|
| | | import com.yeshi.fanli.entity.integral.IntegralExchangeRecord;
|
| | |
|
| | | public interface IntegralExchangeRecordMapper extends BaseMapper<IntegralExchangeRecord> {
|
| | | |
| | |
|
| | | /**
|
| | | * 统计今日兑换情况
|
| | | * @param list
|
| | | * @return
|
| | | */
|
| | | long countRecordByUid(@Param("exchangeId") Long exchangeId, @Param("uid") Long uid, @Param("today") Integer today);
|
| | | |
| | | } |