zyy
2026-04-10 4b659fa0bf28dab9ace10c8e0961254326030c6a
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) {