admin
2020-04-13 dd5b15229cb15459fa7c31ccea77dac28cbfafbd
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/integral/IntegralExchangeRecordMapper.java
@@ -1,19 +1,18 @@
package com.yeshi.fanli.dao.mybatis.integral;
import java.util.List;
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
    */
   List<Long> listRecordByExchangeIds(@Param("list") List<Long> list);
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);
}