hu преди 2 години
родител
ревизия
d9445368d6
променени са 1 файла, в които са добавени 1 реда и са изтрити 2 реда
  1. 1 2
      src/custom/restcontroller/sale/cashbill/SQL/收支凭证列表查询.sql

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