Kaynağa Gözat

发货单业务端查询去除新建的单子

hu 3 yıl önce
ebeveyn
işleme
4d59b66959

+ 1 - 1
src/custom/restcontroller/sale/dispatch/SQL/发货单列表查询.sql

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