|
|
@@ -63,11 +63,10 @@ func (r *ErmcpLoginUser) buildSql() string {
|
|
|
" '企业成员' rolename," +
|
|
|
" l.loginstatus," +
|
|
|
" l.password," +
|
|
|
- " u.mobile" +
|
|
|
+ " l.mobile" +
|
|
|
" from useraccount t" +
|
|
|
" left join loginaccount l" +
|
|
|
" on t.userid = l.userid" +
|
|
|
- " left join userinfo u on t.userid=u.userid" +
|
|
|
" left join tmp r" +
|
|
|
" on t.userid = r.userid" +
|
|
|
" where 1 = 1" +
|
|
|
@@ -88,11 +87,10 @@ func (r *ErmcpLoginUser) buildSql() string {
|
|
|
" Nvl(r.rolename, l.clientroleid) rolename," +
|
|
|
" l.loginstatus," +
|
|
|
" l.password," +
|
|
|
- " u.mobile" +
|
|
|
+ " l.mobile" +
|
|
|
" from useraccount t" +
|
|
|
" left join loginaccount l" +
|
|
|
" on t.userid = l.userid" +
|
|
|
- " left join userinfo u on t.userid=u.userid" +
|
|
|
" left join systemmanagerrole r" +
|
|
|
" on l.clientroleid = r.autoid" +
|
|
|
" and r.areauserid = l.userid" +
|