martin 3 년 전
부모
커밋
bfe95e1913
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      simulation-oauth-server/src/main/java/com/css/simulation/oauth/server/mapper/UserMapper.java

+ 2 - 2
simulation-oauth-server/src/main/java/com/css/simulation/oauth/server/mapper/UserMapper.java

@@ -18,8 +18,8 @@ public interface UserMapper {
             @Result(property = "username", column = "username", jdbcType = JdbcType.VARCHAR),
             @Result(property = "password", column = "password", jdbcType = JdbcType.VARCHAR),
             @Result(property = "phone", column = "phone", jdbcType = JdbcType.VARCHAR),
-            @Result(property = "is_sub", column = "is_sub", jdbcType = JdbcType.VARCHAR),
-            @Result(property = "parent_id", column = "parent_id", jdbcType = JdbcType.VARCHAR)
+            @Result(property = "isSub", column = "is_sub", jdbcType = JdbcType.VARCHAR),
+            @Result(property = "parentId", column = "parent_id", jdbcType = JdbcType.VARCHAR)
     })
     @Select("select id,\n" +
             "       username,\n" +