新版仿ok交易所-后端
zyy
2025-09-10 48a8b0d3502e01cb00d5a913b7be4a0ed2e12fc0
trading-order-service/src/main/java/com/yami/trading/service/item/ItemService.java
@@ -264,13 +264,13 @@
    /**
     * 是否停牌状态
     * @param item
     * @return
     */
    public boolean isSuspended(Item item) {
        item = getById(item.getUuid());
    public boolean isSuspended(String symbol) {
        Item item = findBySymbol(symbol);
        //虚拟币新币才判断
        if (item.getType().equals(Item.cryptos) && (item.getCurrencyType() != null && item.getCurrencyType() == 1)) {
        if (item.getType().equals(Item.cryptos) /*&& (item.getCurrencyType() != null && item.getCurrencyType() == 1)*/) {
            //item = getById(item.getUuid());
            if (item.getStatus() != null && item.getStatus() == 0) {
                return true;
            }