admin
2020-03-12 7a40d9ca41da29aee9464f545e10b452a1922c32
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);
}