From b58363ebb08edecaedbe074ca9bceb703fbc3d59 Mon Sep 17 00:00:00 2001 From: rplees Date: Tue, 5 Dec 2023 14:03:35 +0800 Subject: [PATCH] no message --- .../cn/stock/market/infrastructure/db/po/QStockPO.java | 4 ++-- .../market/infrastructure/api/investing/InvestingApis.java | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/generated/cn/stock/market/infrastructure/db/po/QStockPO.java b/src/main/generated/cn/stock/market/infrastructure/db/po/QStockPO.java index 90be42c..79fce48 100644 --- a/src/main/generated/cn/stock/market/infrastructure/db/po/QStockPO.java +++ b/src/main/generated/cn/stock/market/infrastructure/db/po/QStockPO.java @@ -33,7 +33,7 @@ public class QStockPO extends EntityPathBase { public final StringPath stockCode = createString("stockCode"); - public final NumberPath stockExchangeId = createNumber("stockExchangeId", Integer.class); + public final StringPath stockExchangeId = createString("stockExchangeId"); public final StringPath stockGid = createString("stockGid"); @@ -45,7 +45,7 @@ public class QStockPO extends EntityPathBase { public final NumberPath stockState = createNumber("stockState", Integer.class); - public final NumberPath stockSymbol = createNumber("stockSymbol", Integer.class); + public final StringPath stockSymbol = createString("stockSymbol"); public final StringPath stockType = createString("stockType"); diff --git a/src/main/java/cn/stock/market/infrastructure/api/investing/InvestingApis.java b/src/main/java/cn/stock/market/infrastructure/api/investing/InvestingApis.java index c735792..0720def 100644 --- a/src/main/java/cn/stock/market/infrastructure/api/investing/InvestingApis.java +++ b/src/main/java/cn/stock/market/infrastructure/api/investing/InvestingApis.java @@ -244,9 +244,9 @@ public class InvestingApis { item.put("volume", _ar.get(5)); return item; }).filter(val -> { -// if("min".equalsIgnoreCase(string)) { -// return DateUtil.isSameDay(nowDate, new Date(val.getLong("date"))); -// } + if("min".equalsIgnoreCase(string)) { + return DateUtil.isSameDay(nowDate, new Date(val.getLong("date"))); + } return true; }) .collect(Collectors.toList())