admin
2025-02-25 30d8e227e8d823b6c38c3b9c90ac2df03b63befe
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/integral/IntegralExchangeMapper.java
@@ -1,26 +1,26 @@
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.IntegralExchange;
public interface IntegralExchangeMapper extends BaseMapper<IntegralExchange> {
   /**
    * 查询有效兑换
    */
   List<IntegralExchange> listValid(@Param("start") long start, @Param("count") int count);
   Long countValid();
   /**
    * 根据类型查询有效兑换
    * @param type
    * @return
    */
   IntegralExchange getValidByType(@Param("type") String type);
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.IntegralExchange;
public interface IntegralExchangeMapper extends BaseMapper<IntegralExchange> {
   /**
    * 查询有效兑换
    */
   List<IntegralExchange> listValid(@Param("start") long start, @Param("count") int count);
   Long countValid();
   /**
    * 根据类型查询有效兑换
    * @param type
    * @return
    */
   IntegralExchange getValidByType(@Param("type") String type);
}