From 3817955fa4bcd3fb25b4c6d4848408d00f998485 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 17 Sep 2025 17:14:15 +0800 Subject: [PATCH] bugfix --- llmage/llmclient.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llmage/llmclient.py b/llmage/llmclient.py index e489369..ac7806f 100644 --- a/llmage/llmclient.py +++ b/llmage/llmclient.py @@ -30,8 +30,8 @@ async def get_llms_by_catelog(catelogid): today = curDateString() sql = """select * from llm where llmcatelogid = ${llmcatelogid}$ - enabled_date <= ${today}$ - expired_date > ${today}$ + and enabled_date <= ${today}$ + and expired_date > ${today}$ """ recs = await sor.sqlExe(sql, {'llmcatelogid': catelogid, 'today': today}) return recs