施工管理支持已完成项目+修复状态显示逻辑
This commit is contained in:
@@ -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
|
||||
`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user