|
|
@@ -41,5 +41,5 @@ FROM sa_dispatch t1
|
|
|
LEFT JOIN sys_dataextend t8 ON t8.ownertable = 'sa_dispatch' and t8.ownerid = t1.sa_dispatchid
|
|
|
AND t1.siteid = t8.siteid
|
|
|
LEFT JOIN sa_project t9 ON t9.sa_projectid = t3.sa_projectid AND t9.siteid = t3.siteid
|
|
|
-where t1.siteid = $siteid$ and t1.sys_enterpriseid=$sys_enterpriseid$
|
|
|
+where t1.siteid = $siteid$ and t1.sys_enterpriseid=$sys_enterpriseid$ and t1.status !='新建'
|
|
|
and $where$
|