peter
2025-12-09 6b0035bd7726c159c02e506d76f936e6e8206146
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.FundsTradingAccount;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import java.util.List;
 
/**
 * 配资交易账户
 * @author lr
 * @date 2020/07/24
 */
@Mapper
@Repository
public interface FundsTradingAccountMapper {
 
    /**
     * [新增]
     * @author lr
     * @date 2020/07/24
     **/
    int insert(FundsTradingAccount fundsTradingAccount);
 
    /**
     * [刪除]
     * @author lr
     * @date 2020/07/24
     **/
    int delete(int id);
 
    /**
     * [更新]
     * @author lr
     * @date 2020/07/24
     **/
    int update(FundsTradingAccount fundsTradingAccount);
 
    /**
     * [查询] 根据主键 id 查询
     * @author lr
     * @date 2020/07/24
     **/
    FundsTradingAccount load(int id);
 
    /**
     * [查询] 分页查询 count
     * @author lr
     * @date 2020/07/24
     **/
    int pageListCount(int offset,int pagesize);
 
    /**
     * [查询] 分页查询
     * @author lr
     * @date 2020/07/24
     **/
    List<FundsTradingAccount> pageList(@Param("pageNum") int pageNum,@Param("pageSize") int pageSize,@Param("keyword") String keyword,@Param("status") Integer status);
 
    /**
     * [查询最新交易账户编号]
     * @author lr
     * @date 2020/07/24
     **/
    int getMaxNumber();
 
    /**
     * [查询] 根据子账户编号查询详细信息
     * @author lr
     * @date 2020/07/24
     **/
    FundsTradingAccount getAccountByNumber(@Param("subaccountNumber") Integer subaccountNumber);
 
}