新版仿ok交易所-后端
zyy
2025-09-15 f6a85a3f1f36b412daf60cac6d8ea9278cffa108
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;
            }