zj
2024-06-03 287ac389edd047696d956afafdb855a93830bc0c
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
package com.nq.dao;
 
import com.nq.pojo.FundsLever;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import java.util.List;
 
/**
 * funds_lever
 * @author lr
 * @date 2020/07/23
 */
@Mapper
@Repository
public interface FundsLeverMapper {
 
    /**
     * [新增]
     * @author lr
     * @date 2020/07/23
     **/
    int insert(FundsLever fundsLever);
 
    /**
     * [刪除]
     * @author lr
     * @date 2020/07/23
     **/
    int delete(int id);
 
    /**
     * [更新]
     * @author lr
     * @date 2020/07/23
     **/
    int update(FundsLever fundsLever);
 
    /**
     * [查询] 根据主键 id 查询
     * @author lr
     * @date 2020/07/23
     **/
    FundsLever load(int id);
 
    /**
     * [查询] 分页查询
     * @author lr
     * @date 2020/07/23
     **/
    List<FundsLever> pageList(int pageNum, int pageSize);
 
    /**
     * [查询] 分页查询 count
     * @author lr
     * @date 2020/07/23
     **/
    int pageListCount(int offset,int pagesize);
 
    /**
     * [查询] 查询配资类型杠杆
     * @author lr
     * @date 2020/07/23
     **/
    List<FundsLever> getFundsTypeList(@Param("cycleType") Integer cycleType);
 
    /**
     * [查询] 查询杠杆费率
     * @author lr
     * @date 2020/07/23
     **/
    FundsLever getLeverRateInfo(@Param("cycleType") Integer cycleType,@Param("lever") Integer lever);
 
}