| | |
| | | package com.nq.service; |
| | | |
| | | import com.nq.common.ServerResponse; |
| | | import com.nq.enums.EUserAssets; |
| | | import com.nq.pojo.Bank; |
| | | import com.nq.pojo.UserAssets; |
| | |
| | | |
| | | |
| | | |
| | | ServerResponse updateUserAssets(Integer id, String amt,String type); |
| | | |
| | | |
| | | List<UserAssets> assetsByUserId(Integer userId); |
| | |
| | | Boolean availablebalanceChange(String accetType, Integer userId, EUserAssets eUserAssets, BigDecimal amount, String desc, String descType); |
| | | |
| | | |
| | | /** |
| | | * 平仓返回保证金 |
| | | * @param accetType |
| | | * @param userId |
| | | * @param eUserAssets |
| | | * @param amount |
| | | * @param fzAmount 解冻资金 |
| | | * @return |
| | | */ |
| | | Boolean availablebalanceSell(String accetType, Integer userId, EUserAssets eUserAssets, BigDecimal amount, BigDecimal fzAmount); |
| | | |
| | | } |