浏览代码

过滤掉已删除的订单

eganwu 2 年之前
父节点
当前提交
abbe106a0b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/custom/restcontroller/webmanage/sale/order/SQL/订单(管理端)_列表.sql

+ 1 - 1
src/custom/restcontroller/webmanage/sale/order/SQL/订单(管理端)_列表.sql

@@ -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$