|
|
|
@ -43,14 +43,14 @@ public interface BsUserMapper extends BsUserMapperExt { |
|
|
|
|
"phone, `password`, ", |
|
|
|
|
"integral, `status`, ", |
|
|
|
|
"wx_mp_openid, wx_ma_openid, ", |
|
|
|
|
"v_family_openid, create_time, ", |
|
|
|
|
"outside_openid, create_time, ", |
|
|
|
|
"update_time, ext_1, ", |
|
|
|
|
"ext_2, ext_3)", |
|
|
|
|
"values (#{headImg,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{phone,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{integral,jdbcType=BIGINT}, #{status,jdbcType=INTEGER}, ", |
|
|
|
|
"#{wxMpOpenid,jdbcType=VARCHAR}, #{wxMaOpenid,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{vFamilyOpenid,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{outsideOpenid,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
}) |
|
|
|
@ -72,7 +72,7 @@ public interface BsUserMapper extends BsUserMapperExt { |
|
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="wx_mp_openid", property="wxMpOpenid", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="wx_ma_openid", property="wxMaOpenid", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="v_family_openid", property="vFamilyOpenid", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="outside_openid", property="outsideOpenid", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
@ -84,7 +84,7 @@ public interface BsUserMapper extends BsUserMapperExt { |
|
|
|
|
@Select({ |
|
|
|
|
"select", |
|
|
|
|
"id, head_img, `name`, phone, `password`, integral, `status`, wx_mp_openid, wx_ma_openid, ", |
|
|
|
|
"v_family_openid, create_time, update_time, ext_1, ext_2, ext_3", |
|
|
|
|
"outside_openid, create_time, update_time, ext_1, ext_2, ext_3", |
|
|
|
|
"from bs_user", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -98,7 +98,7 @@ public interface BsUserMapper extends BsUserMapperExt { |
|
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="wx_mp_openid", property="wxMpOpenid", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="wx_ma_openid", property="wxMaOpenid", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="v_family_openid", property="vFamilyOpenid", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="outside_openid", property="outsideOpenid", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
@ -126,7 +126,7 @@ public interface BsUserMapper extends BsUserMapperExt { |
|
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
|
"wx_mp_openid = #{wxMpOpenid,jdbcType=VARCHAR},", |
|
|
|
|
"wx_ma_openid = #{wxMaOpenid,jdbcType=VARCHAR},", |
|
|
|
|
"v_family_openid = #{vFamilyOpenid,jdbcType=VARCHAR},", |
|
|
|
|
"outside_openid = #{outsideOpenid,jdbcType=VARCHAR},", |
|
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|
|