admin
2020-04-15 ee5c8055b1c0dd7c67a9025a76b10bd287c93d9a
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);
}