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>