|
|
|
@ -45,16 +45,18 @@ public interface HighUserMapper extends HighUserMapperExt { |
|
|
|
|
"gold, `status`, open_id, ", |
|
|
|
|
"open_id_h5, union_id, ", |
|
|
|
|
"union_open_id, union_union_id, ", |
|
|
|
|
"info_complete_status, ext_1, ", |
|
|
|
|
"ext_2, ext_3, ext_4)", |
|
|
|
|
"is_agent, info_complete_status, ", |
|
|
|
|
"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}, ", |
|
|
|
|
"#{unionOpenId,jdbcType=VARCHAR}, #{unionUnionId,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{infoCompleteStatus,jdbcType=INTEGER}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR}, #{ext4,jdbcType=VARCHAR})" |
|
|
|
|
"#{isAgent,jdbcType=BIT}, #{infoCompleteStatus,jdbcType=INTEGER}, ", |
|
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext4,jdbcType=VARCHAR})" |
|
|
|
|
}) |
|
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
|
int insert(HighUser record); |
|
|
|
@ -80,6 +82,7 @@ public interface HighUserMapper extends HighUserMapperExt { |
|
|
|
|
@Result(column="union_id", property="unionId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="union_open_id", property="unionOpenId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="union_union_id", property="unionUnionId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="is_agent", property="isAgent", jdbcType=JdbcType.BIT), |
|
|
|
|
@Result(column="info_complete_status", property="infoCompleteStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), |
|
|
|
@ -91,7 +94,7 @@ public interface HighUserMapper extends HighUserMapperExt { |
|
|
|
|
@Select({ |
|
|
|
|
"select", |
|
|
|
|
"id, header_img, `name`, phone, `password`, sex, birthdate, reg_time, gold, `status`, ", |
|
|
|
|
"open_id, open_id_h5, union_id, union_open_id, union_union_id, info_complete_status, ", |
|
|
|
|
"open_id, open_id_h5, union_id, union_open_id, union_union_id, is_agent, info_complete_status, ", |
|
|
|
|
"ext_1, ext_2, ext_3, ext_4", |
|
|
|
|
"from high_user", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
@ -112,6 +115,7 @@ public interface HighUserMapper extends HighUserMapperExt { |
|
|
|
|
@Result(column="union_id", property="unionId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="union_open_id", property="unionOpenId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="union_union_id", property="unionUnionId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="is_agent", property="isAgent", jdbcType=JdbcType.BIT), |
|
|
|
|
@Result(column="info_complete_status", property="infoCompleteStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), |
|
|
|
@ -145,6 +149,7 @@ public interface HighUserMapper extends HighUserMapperExt { |
|
|
|
|
"union_id = #{unionId,jdbcType=VARCHAR},", |
|
|
|
|
"union_open_id = #{unionOpenId,jdbcType=VARCHAR},", |
|
|
|
|
"union_union_id = #{unionUnionId,jdbcType=VARCHAR},", |
|
|
|
|
"is_agent = #{isAgent,jdbcType=BIT},", |
|
|
|
|
"info_complete_status = #{infoCompleteStatus,jdbcType=INTEGER},", |
|
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|
|
"ext_2 = #{ext2,jdbcType=VARCHAR},", |
|
|
|
|