全局usdt,trx账户

This commit is contained in:
lu7213 committed 2026-10-13 03:57:17 -04:00
1 parent 15a80de8a6
commit 2602897c23
5 files changed
+146 -1

No files matched your search

@@ -1,5 +1,6 @@
package com.ruoyi.system.mapper;
import java.math.BigDecimal;
import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
@@ -20,6 +21,11 @@ public interface UsdtConfigMapper extends BaseMapper<UsdtConfigPlus>
/** 使用旧版本作为条件原子更新加密信封,防止并发轮换互相覆盖。 */
int rotateEnvelope(@Param("config") UsdtConfig config, @Param("oldVersion") Long oldVersion);
/** 仅更新主账号链上余额,避免定时任务覆盖其他全局配置。 */
int updateMainWalletBalances(@Param("id") Long id,
@Param("usdtBalance") BigDecimal usdtBalance,
@Param("trxBalance") BigDecimal trxBalance);
/**
* 查询全局配置
*