select accept_plan_id, school_id, batch_id, plan_year, major_id, subject_type, accept_num, school_price, accept_rule_id, little_score_limit, sort, create_at, update_at, del_flag, link_id from mall_accept_plan insert into mall_accept_plan school_id, batch_id, plan_year, major_id, subject_type, accept_num, school_price, accept_rule_id, little_score_limit, sort, create_at, update_at, del_flag, link_id, #{schoolId}, #{batchId}, #{planYear}, #{majorId}, #{subjectType}, #{acceptNum}, #{schoolPrice}, #{acceptRuleId}, #{littleScoreLimit}, #{sort}, #{createAt}, #{updateAt}, #{delFlag}, #{linkId}, update mall_accept_plan school_id = #{schoolId}, batch_id = #{batchId}, plan_year = #{planYear}, major_id = #{majorId}, subject_type = #{subjectType}, accept_num = #{acceptNum}, school_price = #{schoolPrice}, accept_rule_id = #{acceptRuleId}, little_score_limit = #{littleScoreLimit}, sort = #{sort}, create_at = #{createAt}, update_at = #{updateAt}, del_flag = #{delFlag}, link_id = #{linkId}, where accept_plan_id = #{acceptPlanId} delete from mall_accept_plan where accept_plan_id = #{acceptPlanId} delete from mall_accept_plan where accept_plan_id in #{acceptPlanId} UPDATE mall_accept_plan set link_id = #{item.linkId} WHERE accept_plan_id = #{item.acceptPlanId}