1
This commit is contained in:
parent
7d0ede2912
commit
26624b00d0
Binary file not shown.
@ -426,7 +426,7 @@ async def _save_to_db(result: dict):
|
||||
|
||||
# 保存推荐(按 ts_code 清除当日旧记录,避免同一天多次扫描产生重复)
|
||||
today_str = datetime.now().strftime("%Y-%m-%d")
|
||||
now_ts = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
||||
now_dt = datetime.now()
|
||||
saved_count = 0
|
||||
for rec in result.get("recommendations", []):
|
||||
if rec.score < 60:
|
||||
@ -458,7 +458,7 @@ async def _save_to_db(result: dict):
|
||||
entry_signal_type=rec.entry_signal_type,
|
||||
llm_score=rec.llm_score,
|
||||
scan_session=rec.scan_session,
|
||||
created_at=now_ts,
|
||||
created_at=now_dt,
|
||||
)
|
||||
await db.execute(stmt)
|
||||
saved_count += 1
|
||||
|
||||
Binary file not shown.
@ -1,3 +1,25 @@
|
||||
{
|
||||
"pages": {}
|
||||
"pages": {
|
||||
"/(auth)/recommendations/page": [
|
||||
"static/chunks/webpack.js",
|
||||
"static/chunks/main-app.js",
|
||||
"static/chunks/app/(auth)/recommendations/page.js"
|
||||
],
|
||||
"/(auth)/layout": [
|
||||
"static/chunks/webpack.js",
|
||||
"static/chunks/main-app.js",
|
||||
"static/chunks/app/(auth)/layout.js"
|
||||
],
|
||||
"/layout": [
|
||||
"static/chunks/webpack.js",
|
||||
"static/chunks/main-app.js",
|
||||
"static/css/app/layout.css",
|
||||
"static/chunks/app/layout.js"
|
||||
],
|
||||
"/(auth)/dashboard/page": [
|
||||
"static/chunks/webpack.js",
|
||||
"static/chunks/main-app.js",
|
||||
"static/chunks/app/(auth)/dashboard/page.js"
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -8,7 +8,10 @@
|
||||
"static/development/_buildManifest.js",
|
||||
"static/development/_ssgManifest.js"
|
||||
],
|
||||
"rootMainFiles": [],
|
||||
"rootMainFiles": [
|
||||
"static/chunks/webpack.js",
|
||||
"static/chunks/main-app.js"
|
||||
],
|
||||
"pages": {
|
||||
"/_app": []
|
||||
},
|
||||
|
||||
@ -1 +1,4 @@
|
||||
{}
|
||||
{
|
||||
"/(auth)/recommendations/page": "app/(auth)/recommendations/page.js",
|
||||
"/(auth)/dashboard/page": "app/(auth)/dashboard/page.js"
|
||||
}
|
||||
@ -5,7 +5,10 @@ self.__BUILD_MANIFEST = {
|
||||
"devFiles": [],
|
||||
"ampDevFiles": [],
|
||||
"lowPriorityFiles": [],
|
||||
"rootMainFiles": [],
|
||||
"rootMainFiles": [
|
||||
"static/chunks/webpack.js",
|
||||
"static/chunks/main-app.js"
|
||||
],
|
||||
"pages": {
|
||||
"/_app": []
|
||||
},
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
{
|
||||
"node": {},
|
||||
"edge": {},
|
||||
"encryptionKey": "TvpNgjmx7YLTcpuR9/rx1RyNnHAsQtr+fCBhzhbdwwo="
|
||||
"encryptionKey": "ENqzQP8wBFubYL1/ouTvw/MyHD/YS9oWsYiV09Obmq8="
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user