fix: correct targeted search logic for material/stock list to prevent unrelated results

This commit is contained in:
DXC
2026-03-19 09:49:21 +08:00
parent de887136a3
commit ebb7969807
23 changed files with 3723 additions and 0 deletions

View File

@ -0,0 +1,9 @@
from app import create_app, db
# 1. 创建应用实例
app = create_app()
# 2. 在应用上下文中创建表
with app.app_context():
db.create_all()
print("✅ 数据库表结构已成功创建!")