|
|
@@ -32,6 +32,6 @@ FROM sa_order t1
|
|
|
left join sa_project t9 on t9.sa_projectid = t1.sa_projectid and t9.siteid = t1.siteid
|
|
|
where t1.siteid = $siteid$
|
|
|
and $where$
|
|
|
- and t1.type!='工具借用单'
|
|
|
+ and t1.type!='工具借用单' and t1.deleted=0
|
|
|
and (t1.status!='新建' or t1.createuserid =$userid$ or t1.createflag=1) and $tablefilter$
|
|
|
|