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>