Helius
2021-08-05 c1b462af63ae1d293bf967d3c3da07d9348f8e76
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
package com.xzx.gc.user.mapper;
 
import com.xzx.gc.entity.PartnerAccount;
import com.xzx.gc.model.admin.AccountMoneyModel;
import com.xzx.gc.model.admin.PartnerAccountLogModel;
import com.xzx.gc.model.admin.PartnerAccountModel;
import com.xzx.gc.util.GcMapper;
import org.apache.ibatis.annotations.Param;
 
import java.math.BigDecimal;
 
public interface PartnerAccountMapper extends GcMapper<PartnerAccount> {
    void updateAddMoneyByPartnerId(@Param("partnerId") String partnerId, @Param("money") BigDecimal money);
 
    PartnerAccountModel getPartnerAccountByUserId(String userId);
 
    int addPartnerAccountLog(PartnerAccountLogModel log);
 
    void updatePartnerAccount(PartnerAccountModel partnerAccountModel);
 
    void deletePartnerAccount(PartnerAccountModel model);
 
    PartnerAccountModel queryAccountIdByUserId(String userId);
 
 
    void updatePackageAccount(PartnerAccountModel partnerAccountModel);
 
    AccountMoneyModel queryPartnerByAccountId(AccountMoneyModel model);
 
    int updateParterAccount(@Param("money") String money, @Param("accountId") String accountId);
 
    PartnerAccountModel queryAccountIdByAccountId(String accountId);
 
    int addPartnerAccount(PartnerAccountModel model);
 
    void updateAddMoneyLimitByAccountId(@Param("accountId") String accountId, @Param("money") BigDecimal money,@Param("overdraftLimit") BigDecimal overdraftLimit);
 
    void updateAddMoneyResetFixLimitByAccountId(@Param("accountId") String accountId, @Param("money") BigDecimal money,@Param("overdraftLimit") BigDecimal overdraftLimit);
 
    void updateReduceMoneyLimitByAccountId(@Param("accountId") String accountId, @Param("money") BigDecimal money,@Param("overdraftLimit") BigDecimal overdraftLimit);
 
    void updateReduceMoneyResetLimitByAccountId(@Param("accountId") String accountId, @Param("money") BigDecimal money);
 
}