1
zyy
2026-04-02 a6c07a0526befbbd8194c97eb8f64b84b1a477a1
trading-order-service/src/main/java/com/yami/trading/service/impl/WalletServiceImpl.java
@@ -866,6 +866,17 @@
    }
    @Override
    public void resetSimWallet(String userId, double amount) {
        Wallet wallet = findByUserId(userId);
        if (wallet == null) {
            throw new YamiShopBindException("钱包不存在");
        }
        wallet.setMoney(BigDecimal.valueOf(amount));
        wallet.setLockMoney(BigDecimal.ZERO);
        wallet.setFreezeMoney(BigDecimal.ZERO);
        updateById(wallet);
    }
    @Override
    public void updateExtendWithLockAndFreeze(String partyId, String walletType, double amount, double lockAmount, double freezeAmount) {