select school_batch_id, school_id, batch_id,
batch_name, create_at, update_at, del_flag,
is_new_accept, has_new_link, is_change, no_plan
from mall_school_batch_link
insert into mall_school_batch_link
school_batch_id,
school_id,
batch_id,
batch_name,
create_at,
update_at,
del_flag,
is_new_accept,
has_new_link,
is_change,
no_plan,
#{schoolBatchId},
#{schoolId},
#{batchId},
#{batchName},
#{createAt},
#{updateAt},
#{delFlag},
#{isNewAccept},
#{hasNewLink},
#{isChange},
#{noPlan},
update mall_school_batch_link
school_id = #{schoolId},
batch_id = #{batchId},
batch_name = #{batchName},
create_at = #{createAt},
update_at = #{updateAt},
del_flag = #{delFlag},
is_new_accept = #{isNewAccept},
has_new_link = #{hasNewLink},
is_change = #{isChange},
no_plan = #{noPlan},
where school_batch_id = #{schoolBatchId}
update mall_school_batch_link set del_flag = '1' where school_batch_id = #{schoolBatchId}
update mall_school_batch_link set del_flag = '1' where school_batch_id in
#{schoolBatchId}
update mall_school_batch_link set del_flag = '1'
where school_id = #{schoolId}
insert into mall_school_batch_link
(school_id, batch_id, batch_name, create_at, del_flag)
values
(
#{item.schoolId},
#{item.batchId},
#{item.batchName},
#{item.createAt},
#{item.delFlag}
)