bug修复
This commit is contained in:
parent
b5755e748e
commit
2b1e878b0a
@ -195,7 +195,11 @@
|
||||
max(t.actual_finish_date) actual_finish_date,
|
||||
pe.parent_project_enterprise_id as parentId,
|
||||
pe.id,
|
||||
t.*
|
||||
t.*,
|
||||
CASE WHEN ifnull(sum(if(t.begin_warning=3,1,0)),0) > 0 or ifnull(sum(if(t.end_warning=3,1,0)),0) > 0 THEN 3
|
||||
when max(t.status)=0 THEN 0
|
||||
when min(t.status)=2 THEN 2
|
||||
ELSE 1 END mppStatus
|
||||
from xz_task_progress t
|
||||
join enterprise_info ei on ei.id = t.enterprise_id
|
||||
join project_enterprise pe on pe.enterprise_id = t.enterprise_id and pe.project_sn = t.project_sn
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user