施工管理支持已完成项目+修复状态显示逻辑

This commit is contained in:
a273825743
2026-05-17 01:24:37 +08:00
parent 86a4cc65ee
commit 9d8f741771
4 changed files with 22 additions and 8 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ router.get('/my-projects', async (req, res) => {
FROM projects p
LEFT JOIN customers c ON p.customer_id = c.id
LEFT JOIN users u ON p.project_manager_id = u.id
WHERE p.status IN ('active', 'in_progress', 'planning', 'pending')
WHERE p.status IN ('active', 'in_progress', 'planning', 'pending', 'completed')
ORDER BY p.created_at DESC
`);