|
|
@ -43,26 +43,16 @@ public interface BsUserMapper extends BsUserMapperExt { |
|
|
|
"phone, `password`, ", |
|
|
|
"phone, `password`, ", |
|
|
|
"integral, `status`, ", |
|
|
|
"integral, `status`, ", |
|
|
|
"wx_mp_openid, wx_ma_openid, ", |
|
|
|
"wx_mp_openid, wx_ma_openid, ", |
|
|
|
<<<<<<< HEAD |
|
|
|
|
|
|
|
"v_family_openid, create_time, ", |
|
|
|
"v_family_openid, create_time, ", |
|
|
|
"update_time, ext_1, ", |
|
|
|
"update_time, ext_1, ", |
|
|
|
"ext_2, ext_3)", |
|
|
|
"ext_2, ext_3)", |
|
|
|
======= |
|
|
|
|
|
|
|
"create_time, update_time, ", |
|
|
|
|
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
|
|
|
|
>>>>>>> 66a3a513346e2d2bf80c7ca2d9fe9309158d90d4 |
|
|
|
|
|
|
|
"values (#{headImg,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, ", |
|
|
|
"values (#{headImg,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, ", |
|
|
|
"#{phone,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, ", |
|
|
|
"#{phone,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, ", |
|
|
|
"#{integral,jdbcType=BIGINT}, #{status,jdbcType=INTEGER}, ", |
|
|
|
"#{integral,jdbcType=BIGINT}, #{status,jdbcType=INTEGER}, ", |
|
|
|
"#{wxMpOpenid,jdbcType=VARCHAR}, #{wxMaOpenid,jdbcType=VARCHAR}, ", |
|
|
|
"#{wxMpOpenid,jdbcType=VARCHAR}, #{wxMaOpenid,jdbcType=VARCHAR}, ", |
|
|
|
<<<<<<< HEAD |
|
|
|
|
|
|
|
"#{vFamilyOpenid,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{vFamilyOpenid,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
======= |
|
|
|
|
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
|
|
|
>>>>>>> 66a3a513346e2d2bf80c7ca2d9fe9309158d90d4 |
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
int insert(BsUser record); |
|
|
|
int insert(BsUser record); |
|
|
@ -82,10 +72,7 @@ public interface BsUserMapper extends BsUserMapperExt { |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="wx_mp_openid", property="wxMpOpenid", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="wx_mp_openid", property="wxMpOpenid", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="wx_ma_openid", property="wxMaOpenid", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="wx_ma_openid", property="wxMaOpenid", jdbcType=JdbcType.VARCHAR), |
|
|
|
<<<<<<< HEAD |
|
|
|
|
|
|
|
@Result(column="v_family_openid", property="vFamilyOpenid", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="v_family_openid", property="vFamilyOpenid", jdbcType=JdbcType.VARCHAR), |
|
|
|
======= |
|
|
|
|
|
|
|
>>>>>>> 66a3a513346e2d2bf80c7ca2d9fe9309158d90d4 |
|
|
|
|
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
@ -97,11 +84,7 @@ public interface BsUserMapper extends BsUserMapperExt { |
|
|
|
@Select({ |
|
|
|
@Select({ |
|
|
|
"select", |
|
|
|
"select", |
|
|
|
"id, head_img, `name`, phone, `password`, integral, `status`, wx_mp_openid, wx_ma_openid, ", |
|
|
|
"id, head_img, `name`, phone, `password`, integral, `status`, wx_mp_openid, wx_ma_openid, ", |
|
|
|
<<<<<<< HEAD |
|
|
|
|
|
|
|
"v_family_openid, create_time, update_time, ext_1, ext_2, ext_3", |
|
|
|
"v_family_openid, create_time, update_time, ext_1, ext_2, ext_3", |
|
|
|
======= |
|
|
|
|
|
|
|
"create_time, update_time, ext_1, ext_2, ext_3", |
|
|
|
|
|
|
|
>>>>>>> 66a3a513346e2d2bf80c7ca2d9fe9309158d90d4 |
|
|
|
|
|
|
|
"from bs_user", |
|
|
|
"from bs_user", |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -115,10 +98,7 @@ public interface BsUserMapper extends BsUserMapperExt { |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="wx_mp_openid", property="wxMpOpenid", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="wx_mp_openid", property="wxMpOpenid", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="wx_ma_openid", property="wxMaOpenid", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="wx_ma_openid", property="wxMaOpenid", jdbcType=JdbcType.VARCHAR), |
|
|
|
<<<<<<< HEAD |
|
|
|
|
|
|
|
@Result(column="v_family_openid", property="vFamilyOpenid", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="v_family_openid", property="vFamilyOpenid", jdbcType=JdbcType.VARCHAR), |
|
|
|
======= |
|
|
|
|
|
|
|
>>>>>>> 66a3a513346e2d2bf80c7ca2d9fe9309158d90d4 |
|
|
|
|
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
@ -146,10 +126,7 @@ public interface BsUserMapper extends BsUserMapperExt { |
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
"wx_mp_openid = #{wxMpOpenid,jdbcType=VARCHAR},", |
|
|
|
"wx_mp_openid = #{wxMpOpenid,jdbcType=VARCHAR},", |
|
|
|
"wx_ma_openid = #{wxMaOpenid,jdbcType=VARCHAR},", |
|
|
|
"wx_ma_openid = #{wxMaOpenid,jdbcType=VARCHAR},", |
|
|
|
<<<<<<< HEAD |
|
|
|
|
|
|
|
"v_family_openid = #{vFamilyOpenid,jdbcType=VARCHAR},", |
|
|
|
"v_family_openid = #{vFamilyOpenid,jdbcType=VARCHAR},", |
|
|
|
======= |
|
|
|
|
|
|
|
>>>>>>> 66a3a513346e2d2bf80c7ca2d9fe9309158d90d4 |
|
|
|
|
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|