Helius
2021-06-16 5728be2af515b2200e782aa201ca5d4d67d9ea47
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
package com.ibeetl.admin.console.dao;
 
import com.ibeetl.admin.console.model.*;
import com.ibeetl.admin.core.entity.CoreAudit;
import com.ibeetl.admin.core.entity.XzxRebateRulePrice;
import org.apache.commons.codec.binary.Base64;
import org.apache.commons.lang3.StringUtils;
import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.mapper.BaseMapper;
 
import java.util.HashMap;
import java.util.List;
import java.util.Map;
 
@SqlResource("console.fundManagement")
public interface FundManagementApiDao{
 
    /**
     * 根据用户ID查询用户的充值记录和体现记录
     * @param userId
     * @param payType
     * @param tStatus
     * @param page
     * @param limit
     * @return
     */
    List<Map<String, Object>> queryCuserMoneyLog(String userId, String payType, String tStatus,String xStatus, int page, int limit);
    int queryCuserMoneyLogCount(String userId, String payType, String tStatus, String xStatus);
 
 
    /**
     * 查询支付记录
     * @param moneyModel
     */
    List<MoneyModel> queryMoneyList(MoneyModel moneyModel);
 
    String queryMoneyTodayList(MoneyModel moneyModel);
    int queryMoneyListCount(MoneyModel moneyModel);
 
    String queryApprovalType();
 
    String queryTypeDesc(String type);
 
    //Map<String,Object> queryOldLimitMap(String account);
 
    /**
     * 按条件查询
     * @param moneyModel
     * @return
     */
    MoneyModel queryMoney(MoneyModel moneyModel);
 
    /**
     * 更新
     * @param moneyModel
     * @return
     */
    int updateMoney(MoneyModel moneyModel);
 
    int updateMoneyByAccountId(String money,String accountId);
    int updateParterAccount(String money,String accountId);
    int updateParterAccount1(String money,String accountId);
    int updateMoneyApi(MoneyModel moneyModel);
    int updatePlatformMoney(String money);
    int updatePlatformHbb(String hbb);
    int updateParterAccountLog(PartnerAccountLogModel model);
    int insertPlatFormLog(PlatformAccountLogModel model);
    List<PayStorageModel> queryStorageMoneyApi(PayStorageModel model);
 
    String queryStorageMoneyToday(PayStorageModel model);
 
    int queryStorageMoneyApiCount(PayStorageModel model);
 
    String queryUserOrderByStorageId(String storageId);
 
    String endStorageTime();
 
 
    /**
     * 查询充值记录
     * @param moneyModel
     */
    List<MoneyModel> queryRechangeApiList(MoneyModel moneyModel);
    int queryRechangeListApiCount(MoneyModel moneyModel);
 
    Map<String,Object> queryPayInfoDetail(String payOrderId);
 
    Map<String,Object> queryPayInfoDetailHS(String payOrderId);
 
    String queryPayInfoUserRole(String userType);
 
    PayInfoModel queryRechangeApiDetail(PayInfoModel model);
 
    List<PayRequestInfoModel> queryUserOrderList(PayRequestInfoModel model);
 
    int queryUserOrderCount(PayRequestInfoModel model);
 
    List<Map<String,Object>> queryUserOrderMoneyAndWeight(PayRequestInfoModel model);
 
    List<PayRequestInfoModel> queryStorageMoneyDetailApi(List<String> orderIds,int limit,int page);
 
    List<Map<String,Object>> queryMoneyAndWeightByOrderIds(List<String> orderIds);
 
    String queryRechangeMoney(List<String> status,String payType,String startTime,String endTime,List<String> partnerIds);
 
    List<StorageUserModel> quotaDetail(StorageUserModel model);
 
    int quotaDetailCount(StorageUserModel model);
 
    UserAccountModel getAccountByUserId(String userId);
    void updatePackUserAccount(String money,String userId);
 
    RemittanceModel queryRemittanceInfo(String payOrderId);
 
    PartnerAccountModel getPartnerAccountByUserId(String userId);
 
    AccountLogModel getAccountLogByOrderId(String orderId);
 
    List<XzxRebateRulePrice> queryWtList(String ruleId);
 
}