Procházet zdrojové kódy

接口升级(支持配置字段搜素功能)

hu před 2 roky
rodič
revize
7d7cd7df94

+ 1 - 2
src/custom/restcontroller/sale/cashbill/SQL/收支凭证列表查询.sql

@@ -37,5 +37,4 @@ FROM sa_cashbill t1
          left join sa_cashbill t5
                    on t1.siteid = t5.siteid and t5.ownerid = t1.sa_cashbillid and t5.ownertable = 'sa_cashbill'
 where $where$
-  and t1.siteid = $siteid$  and $tablefilter$
-order by status desc, createdate desc
+  and t1.siteid = $siteid$  and $tablefilter$

+ 1 - 1
src/custom/restcontroller/webmanage/sale/dispatch/SQL/审核订单列表查询.sql

@@ -17,4 +17,4 @@ WHERE t1.STATUS = '审核'
   and t1.sys_enterpriseid=$sys_enterpriseid$
   and  exists (select 1 from sa_orderitems where (ifnull(undeliqty, 0)!=0 and ifnull(isclose, 0 )= 0 and ifnull(isfreeze, 0 )= 0) and sa_orderid=t1.sa_orderid)
   AND t1.siteid = $siteid$
-  and $where$
+  and $where$ and $tablefilter$