1
zj
3 hours ago b426757e13490d9d88a75faf7ba94455b890f582
trading-order-admin/src/main/java/com/yami/trading/api/controller/ipo/ApiSpotStocksController.java
@@ -74,7 +74,7 @@
        //1 抽签记录 2 新股库存  3 现股库存
        if (model.getType() == 1) { //抽签
            list = applyNewSharesOrderService.list(Wrappers.<ApplyNewSharesOrder>
                    query().lambda().eq(ApplyNewSharesOrder::getUserId, SecurityUtils.getUser().getUserId()));
                    query().lambda().eq(ApplyNewSharesOrder::getUserId, SecurityUtils.getCurrentUserId()));
        } else if (model.getType() == 2) {// 新股库存
            List<UserPromiseRecord> userPromiseRecords = userPromiseRecordService.list(Wrappers.<UserPromiseRecord>query()
                    .lambda().eq(UserPromiseRecord::getShowFlag, 0).eq(UserPromiseRecord::getUserId,SecurityUtils.getCurrentUserId()));