Browse Source

登陆账号列表新增品牌名称

沈静伟 4 years ago
parent
commit
88750e8e08

+ 2 - 1
src/dsb/com/cnd3b/common/restful/SQL/客户端手机账号列表查询.sql

@@ -20,7 +20,8 @@ select t1.tenterprise_userid
        t5.fagentoldamount,
        t2.floginmode,
        t2.tenterpriseid,
-       t3.ftype as fagenttype
+       t3.ftype as fagenttype,
+       t3.fbrand
 from tenterprise_users t1
          inner join tenterprise t2 on t1.siteid = t2.siteid
          left join tagents t3 on t1.siteid = t3.siteid and t1.tagentsid = t3.tagentsid

+ 2 - 1
src/dsb/com/cnd3b/common/restful/SQL/持久化账号列表查询.sql

@@ -23,7 +23,8 @@ select t1.tenterprise_userid
        t2.floginmode,
        t1.accesstoken                                                               as token,
        t2.tenterpriseid,
-       t3.ftype as fagenttype
+       t3.ftype as fagenttype,
+       t3.fbrand
 from tenterprise_users t1
          inner join tenterprise t2 on t1.siteid = t2.siteid
          left join tagents t3 on t1.siteid = t3.siteid and t1.tagentsid = t3.tagentsid

+ 1 - 6
src/dsb/com/cnd3b/common/restful/SQL/管理端手机账号列表查询.sql

@@ -2,9 +2,6 @@ select t1.tenterprise_userid
        t1.fphonenumber,
        t1.siteid,
        t1.tagentsid,
-       t3.fagentname,
-       t3.fagentnum,
-       t3.fagentname,
        t1.fusertype,
        t1.frole,
        t1.fname,
@@ -15,10 +12,8 @@ select t1.tenterprise_userid
        0                                                                as fpayamount,
        t5.fagentoldamount,
        t2.floginmode,
-       t2.tenterpriseid,
-       t3.ftype as fagenttype
+       t2.tenterpriseid
 from tenterprise_users t1
          inner join tenterprise t2 on t1.siteid = t2.siteid
-         left join tagents t3 on t1.siteid = t3.siteid and t1.tagentsid = t3.tagentsid
          inner join tappmodelauth t5 on t1.siteid = t5.siteid and t5.fisdefault = 1
 where t1.fphonenumber =$fphonenumber$ and t2.floginmode in (1, 3) and t1.fisused=1 and t1.fusertype = 'ÆóÒµ'