id, `uid`, aid, last_follow_time, last_sign_time, create_time, big_customer, update_aid,
update_name, date_update_time, channel_type, chargeback, `member`, last_sales_type,
last_follow_type, follow_number, task_names, sign_number, sign_amount, last_signing_time,
first_signing_time, follow_dep, follow_explain, follow_aname, follow_aid
delete from user_mid
where id = #{id,jdbcType=INTEGER}
insert into user_mid (id, `uid`, aid,
last_follow_time, last_sign_time, create_time,
big_customer, update_aid, update_name,
date_update_time, channel_type, chargeback,
`member`, last_sales_type, last_follow_type,
follow_number, task_names, sign_number,
sign_amount, last_signing_time, first_signing_time,
follow_dep, follow_explain, follow_aname,
follow_aid)
values (#{id,jdbcType=INTEGER}, #{uid,jdbcType=VARCHAR}, #{aid,jdbcType=VARCHAR},
#{lastFollowTime,jdbcType=TIMESTAMP}, #{lastSignTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP},
#{bigCustomer,jdbcType=INTEGER}, #{updateAid,jdbcType=VARCHAR}, #{updateName,jdbcType=VARCHAR},
#{dateUpdateTime,jdbcType=TIMESTAMP}, #{channelType,jdbcType=INTEGER}, #{chargeback,jdbcType=INTEGER},
#{member,jdbcType=INTEGER}, #{lastSalesType,jdbcType=INTEGER}, #{lastFollowType,jdbcType=INTEGER},
#{followNumber,jdbcType=INTEGER}, #{taskNames,jdbcType=VARCHAR}, #{signNumber,jdbcType=INTEGER},
#{signAmount,jdbcType=DECIMAL}, #{lastSigningTime,jdbcType=DATE}, #{firstSigningTime,jdbcType=DATE},
#{followDep,jdbcType=VARCHAR}, #{followExplain,jdbcType=VARCHAR}, #{followAname,jdbcType=VARCHAR},
#{followAid,jdbcType=VARCHAR})
insert into user_mid
id,
`uid`,
aid,
last_follow_time,
last_sign_time,
create_time,
big_customer,
update_aid,
update_name,
date_update_time,
channel_type,
chargeback,
`member`,
last_sales_type,
last_follow_type,
follow_number,
task_names,
sign_number,
sign_amount,
last_signing_time,
first_signing_time,
follow_dep,
follow_explain,
follow_aname,
follow_aid,
#{id,jdbcType=INTEGER},
#{uid,jdbcType=VARCHAR},
#{aid,jdbcType=VARCHAR},
#{lastFollowTime,jdbcType=TIMESTAMP},
#{lastSignTime,jdbcType=TIMESTAMP},
#{createTime,jdbcType=TIMESTAMP},
#{bigCustomer,jdbcType=INTEGER},
#{updateAid,jdbcType=VARCHAR},
#{updateName,jdbcType=VARCHAR},
#{dateUpdateTime,jdbcType=TIMESTAMP},
#{channelType,jdbcType=INTEGER},
#{chargeback,jdbcType=INTEGER},
#{member,jdbcType=INTEGER},
#{lastSalesType,jdbcType=INTEGER},
#{lastFollowType,jdbcType=INTEGER},
#{followNumber,jdbcType=INTEGER},
#{taskNames,jdbcType=VARCHAR},
#{signNumber,jdbcType=INTEGER},
#{signAmount,jdbcType=DECIMAL},
#{lastSigningTime,jdbcType=DATE},
#{firstSigningTime,jdbcType=DATE},
#{followDep,jdbcType=VARCHAR},
#{followExplain,jdbcType=VARCHAR},
#{followAname,jdbcType=VARCHAR},
#{followAid,jdbcType=VARCHAR},
update user_mid
`uid` = #{uid,jdbcType=VARCHAR},
aid = #{aid,jdbcType=VARCHAR},
last_follow_time = #{lastFollowTime,jdbcType=TIMESTAMP},
last_sign_time = #{lastSignTime,jdbcType=TIMESTAMP},
create_time = #{createTime,jdbcType=TIMESTAMP},
big_customer = #{bigCustomer,jdbcType=INTEGER},
update_aid = #{updateAid,jdbcType=VARCHAR},
update_name = #{updateName,jdbcType=VARCHAR},
date_update_time = #{dateUpdateTime,jdbcType=TIMESTAMP},
channel_type = #{channelType,jdbcType=INTEGER},
chargeback = #{chargeback,jdbcType=INTEGER},
`member` = #{member,jdbcType=INTEGER},
last_sales_type = #{lastSalesType,jdbcType=INTEGER},
last_follow_type = #{lastFollowType,jdbcType=INTEGER},
follow_number = #{followNumber,jdbcType=INTEGER},
task_names = #{taskNames,jdbcType=VARCHAR},
sign_number = #{signNumber,jdbcType=INTEGER},
sign_amount = #{signAmount,jdbcType=DECIMAL},
last_signing_time = #{lastSigningTime,jdbcType=DATE},
first_signing_time = #{firstSigningTime,jdbcType=DATE},
follow_dep = #{followDep,jdbcType=VARCHAR},
follow_explain = #{followExplain,jdbcType=VARCHAR},
follow_aname = #{followAname,jdbcType=VARCHAR},
follow_aid = #{followAid,jdbcType=VARCHAR},
where id = #{id,jdbcType=INTEGER}
update user_mid
set `uid` = #{uid,jdbcType=VARCHAR},
aid = #{aid,jdbcType=VARCHAR},
last_follow_time = #{lastFollowTime,jdbcType=TIMESTAMP},
last_sign_time = #{lastSignTime,jdbcType=TIMESTAMP},
create_time = #{createTime,jdbcType=TIMESTAMP},
big_customer = #{bigCustomer,jdbcType=INTEGER},
update_aid = #{updateAid,jdbcType=VARCHAR},
update_name = #{updateName,jdbcType=VARCHAR},
date_update_time = #{dateUpdateTime,jdbcType=TIMESTAMP},
channel_type = #{channelType,jdbcType=INTEGER},
chargeback = #{chargeback,jdbcType=INTEGER},
`member` = #{member,jdbcType=INTEGER},
last_sales_type = #{lastSalesType,jdbcType=INTEGER},
last_follow_type = #{lastFollowType,jdbcType=INTEGER},
follow_number = #{followNumber,jdbcType=INTEGER},
task_names = #{taskNames,jdbcType=VARCHAR},
sign_number = #{signNumber,jdbcType=INTEGER},
sign_amount = #{signAmount,jdbcType=DECIMAL},
last_signing_time = #{lastSigningTime,jdbcType=DATE},
first_signing_time = #{firstSigningTime,jdbcType=DATE},
follow_dep = #{followDep,jdbcType=VARCHAR},
follow_explain = #{followExplain,jdbcType=VARCHAR},
follow_aname = #{followAname,jdbcType=VARCHAR},
follow_aid = #{followAid,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
update user_mid
aid = #{aid,jdbcType=VARCHAR},
last_follow_time = #{lastFollowTime,jdbcType=TIMESTAMP},
last_sign_time = #{lastSignTime,jdbcType=TIMESTAMP},
create_time = #{createTime,jdbcType=TIMESTAMP},
big_customer = #{bigCustomer,jdbcType=INTEGER},
update_aid = #{updateAid,jdbcType=VARCHAR},
update_name = #{updateName,jdbcType=VARCHAR},
date_update_time = #{dateUpdateTime,jdbcType=TIMESTAMP},
channel_type = #{channelType,jdbcType=INTEGER},
chargeback = #{chargeback,jdbcType=INTEGER},
`member` = #{member,jdbcType=INTEGER},
last_sales_type = #{lastSalesType,jdbcType=INTEGER},
last_follow_type = #{lastFollowType,jdbcType=INTEGER},
follow_number = #{followNumber,jdbcType=INTEGER},
task_names = #{taskNames,jdbcType=VARCHAR},
sign_number = #{signNumber,jdbcType=INTEGER},
sign_amount = #{signAmount,jdbcType=DECIMAL},
last_signing_time = #{lastSigningTime,jdbcType=DATE},
first_signing_time = #{firstSigningTime,jdbcType=DATE},
follow_dep = #{followDep,jdbcType=VARCHAR},
follow_explain = #{followExplain,jdbcType=VARCHAR},
follow_aname = #{followAname,jdbcType=VARCHAR},
follow_aid = #{followAid,jdbcType=VARCHAR},
where `uid` = #{uid,jdbcType=VARCHAR}
update user_mid
aid = #{aid,jdbcType=VARCHAR},
last_follow_time = null,
last_sign_time = #{lastSignTime,jdbcType=TIMESTAMP},
create_time = #{createTime,jdbcType=TIMESTAMP},
big_customer = #{bigCustomer,jdbcType=INTEGER},
update_aid = #{updateAid,jdbcType=VARCHAR},
update_name = #{updateName,jdbcType=VARCHAR},
date_update_time = #{dateUpdateTime,jdbcType=TIMESTAMP},
where `uid` in
#{item}