apps流水逻辑
This commit is contained in:
1 parent
0ff174e872
commit
15cc537639
10 files changed
+256
-232
No files matched your search
@@ -24,6 +24,12 @@ public interface AppsMapper extends BaseMapper<AppsPlus>
|
||||
/** 锁定应用,串行化同一应用的钱包领取。 */
|
||||
Apps selectAppsByIdForUpdate(@Param("id") Long id);
|
||||
|
||||
/** 订单结算时仅更新应用可用余额,冻结余额不参与变动。 */
|
||||
int updateAvailableBalances(@Param("id") Long id,
|
||||
@Param("usdtBalance") java.math.BigDecimal usdtBalance,
|
||||
@Param("trxBalance") java.math.BigDecimal trxBalance,
|
||||
@Param("updatedAt") java.util.Date updatedAt);
|
||||
|
||||
int updateKeyPair(@Param("id") Long id, @Param("publicKey") String publicKey,
|
||||
@Param("privateKey") String privateKey, @Param("updatedAt") java.util.Date updatedAt);
|
||||
|
||||
|
||||
Reference in new issue
Block a user