| | |
| | | //带单返利的记录要在资产页面的其他记录 |
| | | LogRecordUtils.insertMemberAccountMoneyChange( |
| | | traderInfoEntity.getMemberId(), |
| | | StrUtil.format(NoticeConstant.RETURN_MONEY_CONTENT, |
| | | StrUtil.format(NoticeConstant.RETURN_MONEY_CONTENT_MAMC, |
| | | orderNo, |
| | | holdOrderEntity.getSymbol(), |
| | | returnMoney.setScale(2, BigDecimal.ROUND_HALF_UP).toString()), |
| | | holdOrderEntity.getSymbol()), |
| | | returnMoney.setScale(2, BigDecimal.ROUND_HALF_UP), |
| | | MemberWalletCoinEnum.WALLETCOINCODE.getValue(), |
| | | MemberAccountMoneyChange.STATUS_SUCCESS_INTEGER, |
| | |
| | | |
| | | public static final String RETURN_MONEY_TITLE = "跟单-平仓返佣"; |
| | | public static final String RETURN_MONEY_CONTENT = "平仓成功,收到的合约单号为{},币种为{}的返佣金额:{}"; |
| | | public static final String RETURN_MONEY_CONTENT_MAMC = "合约{},币种{}的返利"; |
| | | |
| | | } |
| | |
| | | <if test="record != null">
|
| | | <where>
|
| | | type = 3
|
| | | and (content like '%佣金到账%' or content like '%活动%')
|
| | | and (content like '%佣金到账%' or content like '%活动%' or content like '%返佣金额%')
|
| | | <if test="record.memberId != null" >
|
| | | and member_id=#{record.memberId}
|
| | | </if>
|