|
|
|
@ -41,7 +41,6 @@ public interface BsUserMapper extends BsUserMapperExt { |
|
|
|
|
@Insert({ |
|
|
|
|
"insert into bs_user (head_img, `name`, ", |
|
|
|
|
"phone, grade, wechat_num, ", |
|
|
|
|
<<<<<<< HEAD |
|
|
|
|
"special_id, wechat_open_id, ", |
|
|
|
|
"wechat_unionid, elm_pid, ", |
|
|
|
|
"invite_user_id, invite_time, ", |
|
|
|
@ -57,8 +56,7 @@ public interface BsUserMapper extends BsUserMapperExt { |
|
|
|
|
"#{partnerLevel,jdbcType=INTEGER}, #{partnerIncomePer,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
======= |
|
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})", |
|
|
|
|
"wechat_open_id, wechat_unionid, ", |
|
|
|
|
"elm_pid, invite_user_id, ", |
|
|
|
|
"invite_time, partner_level, ", |
|
|
|
@ -73,7 +71,6 @@ public interface BsUserMapper extends BsUserMapperExt { |
|
|
|
|
"#{partnerIncomePer,jdbcType=DECIMAL}, #{status,jdbcType=INTEGER}, ", |
|
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
>>>>>>> 9fd569d446b9f1a74c4b28147a3572ee8a076825 |
|
|
|
|
}) |
|
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
|
int insert(BsUser record); |
|
|
|
@ -90,10 +87,7 @@ public interface BsUserMapper extends BsUserMapperExt { |
|
|
|
|
@Result(column="phone", property="phone", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="grade", property="grade", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="wechat_num", property="wechatNum", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
<<<<<<< HEAD |
|
|
|
|
@Result(column="special_id", property="specialId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
======= |
|
|
|
|
>>>>>>> 9fd569d446b9f1a74c4b28147a3572ee8a076825 |
|
|
|
|
@Result(column="wechat_open_id", property="wechatOpenId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="wechat_unionid", property="wechatUnionid", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="elm_pid", property="elmPid", jdbcType=JdbcType.VARCHAR), |
|
|
|
@ -112,15 +106,12 @@ public interface BsUserMapper extends BsUserMapperExt { |
|
|
|
|
|
|
|
|
|
@Select({ |
|
|
|
|
"select", |
|
|
|
|
<<<<<<< HEAD |
|
|
|
|
"id, head_img, `name`, phone, grade, wechat_num, special_id, wechat_open_id, ", |
|
|
|
|
"wechat_unionid, elm_pid, invite_user_id, invite_time, partner_level, partner_income_per, ", |
|
|
|
|
"`status`, create_time, update_time, ext_1, ext_2, ext_3", |
|
|
|
|
======= |
|
|
|
|
"id, head_img, `name`, phone, grade, wechat_num, wechat_open_id, wechat_unionid, ", |
|
|
|
|
"elm_pid, invite_user_id, invite_time, partner_level, partner_income_per, `status`, ", |
|
|
|
|
"create_time, update_time, ext_1, ext_2, ext_3", |
|
|
|
|
>>>>>>> 9fd569d446b9f1a74c4b28147a3572ee8a076825 |
|
|
|
|
"from bs_user", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -131,10 +122,7 @@ public interface BsUserMapper extends BsUserMapperExt { |
|
|
|
|
@Result(column="phone", property="phone", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="grade", property="grade", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="wechat_num", property="wechatNum", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
<<<<<<< HEAD |
|
|
|
|
@Result(column="special_id", property="specialId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
======= |
|
|
|
|
>>>>>>> 9fd569d446b9f1a74c4b28147a3572ee8a076825 |
|
|
|
|
@Result(column="wechat_open_id", property="wechatOpenId", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="wechat_unionid", property="wechatUnionid", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="elm_pid", property="elmPid", jdbcType=JdbcType.VARCHAR), |
|
|
|
@ -167,10 +155,7 @@ public interface BsUserMapper extends BsUserMapperExt { |
|
|
|
|
"phone = #{phone,jdbcType=VARCHAR},", |
|
|
|
|
"grade = #{grade,jdbcType=INTEGER},", |
|
|
|
|
"wechat_num = #{wechatNum,jdbcType=VARCHAR},", |
|
|
|
|
<<<<<<< HEAD |
|
|
|
|
"special_id = #{specialId,jdbcType=VARCHAR},", |
|
|
|
|
======= |
|
|
|
|
>>>>>>> 9fd569d446b9f1a74c4b28147a3572ee8a076825 |
|
|
|
|
"wechat_open_id = #{wechatOpenId,jdbcType=VARCHAR},", |
|
|
|
|
"wechat_unionid = #{wechatUnionid,jdbcType=VARCHAR},", |
|
|
|
|
"elm_pid = #{elmPid,jdbcType=VARCHAR},", |
|
|
|
|