select batch_detail_id, batch_id, province_id, year, submit_time, wish_type, wish_num, wish_form, school_type, count_type, submit_demand, batch_line, description, remark, create_at, update_at, del_flag from mall_batch_detail insert into mall_batch_detail batch_id, province_id, year, submit_time, wish_type, wish_num, wish_form, school_type, count_type, submit_demand, batch_line, description, remark, create_at, update_at, del_flag, #{batchId}, #{provinceId}, #{year}, #{submitTime}, #{wishType}, #{wishNum}, #{wishForm}, #{schoolType}, #{countType}, #{submitDemand}, #{batchLine}, #{description}, #{remark}, #{createAt}, #{updateAt}, #{delFlag}, update mall_batch_detail batch_id = #{batchId}, province_id = #{provinceId}, year = #{year}, submit_time = #{submitTime}, wish_type = #{wishType}, wish_num = #{wishNum}, wish_form = #{wishForm}, school_type = #{schoolType}, count_type = #{countType}, submit_demand = #{submitDemand}, batch_line = #{batchLine}, description = #{description}, remark = #{remark}, create_at = #{createAt}, update_at = #{updateAt}, del_flag = #{delFlag}, where batch_detail_id = #{batchDetailId} delete from mall_batch_detail where batch_detail_id = #{batchDetailId} delete from mall_batch_detail where batch_detail_id in #{batchDetailId}