|
|
|
@ -43,12 +43,14 @@ public interface HighUserMapper extends HighUserMapperExt { |
|
|
|
|
"phone, `password`, ", |
|
|
|
|
"sex, birthdate, reg_time, ", |
|
|
|
|
"gold, `status`, open_id, ", |
|
|
|
|
"open_id_h5, union_id, ", |
|
|
|
|
"ext_1, ext_2, ext_3, ", |
|
|
|
|
"ext_4)", |
|
|
|
|
"values (#{headerImg,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{phone,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{sex,jdbcType=VARCHAR}, #{birthdate,jdbcType=DATE}, #{regTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{gold,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, #{openId,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{openIdH5,jdbcType=VARCHAR}, #{unionId,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext4,jdbcType=VARCHAR})" |
|
|
|
|
}) |
|
|
|
@ -72,6 +74,8 @@ public interface HighUserMapper extends HighUserMapperExt { |
|
|
|
|
@Result(column="gold", property="gold", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="open_id", property="openId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="open_id_h5", property="openIdH5", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="union_id", property="unionId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR), |
|
|
|
@ -82,7 +86,7 @@ public interface HighUserMapper extends HighUserMapperExt { |
|
|
|
|
@Select({ |
|
|
|
|
"select", |
|
|
|
|
"id, header_img, `name`, phone, `password`, sex, birthdate, reg_time, gold, `status`, ", |
|
|
|
|
"open_id, ext_1, ext_2, ext_3, ext_4", |
|
|
|
|
"open_id, open_id_h5, union_id, ext_1, ext_2, ext_3, ext_4", |
|
|
|
|
"from high_user", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -98,6 +102,8 @@ public interface HighUserMapper extends HighUserMapperExt { |
|
|
|
|
@Result(column="gold", property="gold", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="open_id", property="openId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="open_id_h5", property="openIdH5", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="union_id", property="unionId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR), |
|
|
|
@ -126,6 +132,8 @@ public interface HighUserMapper extends HighUserMapperExt { |
|
|
|
|
"gold = #{gold,jdbcType=INTEGER},", |
|
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
|
"open_id = #{openId,jdbcType=VARCHAR},", |
|
|
|
|
"open_id_h5 = #{openIdH5,jdbcType=VARCHAR},", |
|
|
|
|
"union_id = #{unionId,jdbcType=VARCHAR},", |
|
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|
|
"ext_2 = #{ext2,jdbcType=VARCHAR},", |
|
|
|
|
"ext_3 = #{ext3,jdbcType=VARCHAR},", |
|
|
|
|