Browse Source

业务员无法查未启用的经销商

hu 3 năm trước cách đây
mục cha
commit
e4e599e5c6

+ 1 - 1
src/rest/openapi/restcontroller/wechatapp/tsaler/SQL/经销商信息查询.sql

@@ -47,4 +47,4 @@ FROM tagents t1
 left join tagents t2 on t1.fupagentnum=t2.fagentnum and t1.siteid=t2.siteid
 where t1.siteid =$siteid$
   and exists (select fagentnum from tagents_field where hrid in $hrid$ and siteid=t1.siteid and fagentnum=t1.fagentnum )
-  and $where$
+  and t1.fisused=1 and $where$