Explorar o código

收支凭证性能优化

shenjingwei hai 4 meses
pai
achega
7e2df1f741
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      src/custom/restcontroller/sale/cashbill/cashbill.java

+ 0 - 1
src/custom/restcontroller/sale/cashbill/cashbill.java

@@ -580,7 +580,6 @@ public class cashbill extends Controller {
         querySQL.addJoinTable(JOINTYPE.left, "sa_agents", "t4", "t4.sys_enterpriseid = t2.sys_enterpriseid and t4.siteid = t2.siteid", "agentnum");
         querySQL.addJoinTable(JOINTYPE.left, "sa_accountclass", "t3", "t1.sa_accountclassid = t3.sa_accountclassid and t1.siteid = t3.siteid and t3.isused = 1", "accountno", "accountname");
         querySQL.setWhere(where);
-        querySQL.setWhere("t1.status");
         querySQL.setWhere("type", type);
         querySQL.setSiteid(siteid);
         querySQL.setOrderBy(pageSorting);