|
|
|
@ -56,7 +56,21 @@ 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, ", |
|
|
|
|
"partner_income_per, `status`, ", |
|
|
|
|
"create_time, update_time, ", |
|
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
|
"values (#{headImg,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{phone,jdbcType=VARCHAR}, #{grade,jdbcType=INTEGER}, #{wechatNum,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{wechatOpenId,jdbcType=VARCHAR}, #{wechatUnionid,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{elmPid,jdbcType=VARCHAR}, #{inviteUserId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{inviteTime,jdbcType=TIMESTAMP}, #{partnerLevel,jdbcType=INTEGER}, ", |
|
|
|
|
"#{partnerIncomePer,jdbcType=DECIMAL}, #{status,jdbcType=INTEGER}, ", |
|
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
}) |
|
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
|
int insert(BsUser record); |
|
|
|
@ -95,6 +109,9 @@ public interface BsUserMapper extends BsUserMapperExt { |
|
|
|
|
"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", |
|
|
|
|
"from bs_user", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
|