Files
DashBoard/.gitignore
beabigegg 94e5d8c5c3 feat: 新增批次追蹤工具 (Query Tool)
新增完整的批次追蹤和設備時段查詢功能:

批次追蹤功能:
- 支援 LOT ID / 流水號 / GA工單 三種查詢方式
- 生產歷程查詢 (DW_MES_LOTWIPHISTORY)
- 前後批比對 (ROW_NUMBER 窗口函數)
- 關聯資料查詢 (物料/不良/HOLD/JOB)
- TMTT 成品流水號對應查詢

設備時段查詢功能:
- 設備狀態時數統計
- 批次清單查詢
- 物料消耗彙總
- 不良統計
- JOB 紀錄查詢

技術改進:
- 新增 read_sql_df_slow() 支援慢查詢專用連線和超時控制
- 修正時區處理使用 TW_TIMEZONE (GMT+8)
- 新增 15 個 SQL 查詢檔案
- 完整的單元測試和 API 測試

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 19:42:54 +08:00

56 lines
544 B
Plaintext

# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
# Virtual environments
venv/
ENV/
env/
.venv/
# Package build artifacts
*.egg-info/
*.egg
dist/
build/
*.whl
# IDE
.idea/
.vscode/
*.swp
*.swo
*.sublime-*
# OS
.DS_Store
Thumbs.db
nul
# Logs
*.log
logs/
# Local config (credentials)
.env
# AI/LLM tools
.claude/
.codex/
CLAUDE.md
openspec/
# Test artifacts
.pytest_cache/
.coverage
htmlcov/
.tox/
# Jupyter
.ipynb_checkpoints/
# Note: openspec/ is tracked (not ignored)
tmp/