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