yujian
2019-08-14 2e5c6b46697f7b96460ad0c356740df52bf056d2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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);
}