update pay ui
This commit is contained in:
2
app.py
2
app.py
@@ -9998,8 +9998,10 @@ def api_get_events():
|
||||
like_pattern = f"%{search_query}%"
|
||||
|
||||
# 子查询:查找关联股票中匹配的事件ID
|
||||
# stock_code 格式:600111.SH / 000001.SZ / 830001.BJ,支持不带后缀搜索
|
||||
stock_subquery = db.session.query(RelatedStock.event_id).filter(
|
||||
db.or_(
|
||||
RelatedStock.stock_code.ilike(like_pattern), # 支持股票代码搜索
|
||||
RelatedStock.stock_name.ilike(like_pattern),
|
||||
RelatedStock.relation_desc.ilike(like_pattern)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user