1
zyy
2026-04-01 d3f9065046909468ef0089a48bb927fba645ddb3
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) {