| 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);  | 
|   | 
| } |