Eric 1 سال پیش
والد
کامیت
8315dafa09
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      cooleshow-auth/auth-server/src/main/resources/config/mybatis/SysUserMapper.xml

+ 3 - 0
cooleshow-auth/auth-server/src/main/resources/config/mybatis/SysUserMapper.xml

@@ -316,6 +316,9 @@
             <when test="clientId == 'ORGANIZATION'">
                 tenant_staff
             </when>
+            <otherwise>
+                employee
+            </otherwise>
         </choose>
         where user_id_ = #{userId}
     </select>