eganwu 3 лет назад
Родитель
Сommit
beeed1c824
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/custom/restcontroller/sale/cashbill/SQL/收支凭证列表查询.sql

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

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