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" +