select school_id, school_name, school_icon, background_image, school_introduce, school_introduce_short, school_number, config_type_id, config_type_name, school_institution, competent_department, province_id, province_name, city_id, city_name, area_id, area_name, address, remarks, tags, school_web, accept_phone, school_mail, school_birthday, area_size, male_ratio, female_ratio, postgraduate_ratio, offer_ratio, change_major_ratio,masters_degree,doctorate,ace, create_at, update_at, del_flag ,masters_degree_detail ,doctorate_detail ,ranking, position_id, suggest_id, accept_premise, masters_degree_type, doctorate_type,is_new_accept, has_new_link, is_change, no_plan , qr_code, sys_user_id, sys_user_name, sys_user_password, sys_user_status from mall_school insert into mall_school school_name, school_icon, background_image, school_introduce, school_introduce_short, school_number, config_type_id, config_type_name, school_institution, competent_department, province_id, province_name, city_id, city_name, area_id, area_name, address, remarks, tags, school_web, accept_phone, school_mail, school_birthday, area_size, male_ratio, female_ratio, postgraduate_ratio, offer_ratio, change_major_ratio, masters_degree, masters_degree_detail, doctorate, doctorate_detail, ace, ranking, create_at, update_at, del_flag, position_id , suggest_id, accept_premise, masters_degree_type, doctorate_type, is_new_accept, has_new_link, is_change, no_plan, qr_code, sys_user_id, sys_user_name, sys_user_password, sys_user_status, #{schoolName}, #{schoolIcon}, #{backgroundImage}, #{schoolIntroduce}, #{schoolIntroduceShort}, #{schoolNumber}, #{configTypeId}, #{configTypeName}, #{schoolInstitution}, #{competentDepartment}, #{provinceId}, #{provinceName}, #{cityId}, #{cityName}, #{areaId}, #{areaName}, #{address}, #{remarks}, #{tags}, #{schoolWeb}, #{acceptPhone}, #{schoolMail}, #{schoolBirthday}, #{areaSize}, #{maleRatio}, #{femaleRatio}, #{postgraduateRatio}, #{offerRatio}, #{changeMajorRatio}, #{mastersDegree}, #{mastersDegreeDetail}, #{doctorate}, #{doctorateDetail}, #{ace}, #{ranking}, #{createAt}, #{updateAt}, #{delFlag}, #{positionId}, #{suggestId}, #{acceptPremise}, #{mastersDegreeType}, #{doctorateType}, #{isNewAccept}, #{hasNewLink}, #{isChange}, #{noPlan}, #{qrCode}, #{sysUserId}, #{sysUserName}, #{sysUserPassword}, #{sysUserStatus}, update mall_school school_name = #{schoolName}, school_icon = #{schoolIcon}, background_image = #{backgroundImage}, school_introduce = #{schoolIntroduce}, school_introduce_short = #{schoolIntroduceShort}, school_number = #{schoolNumber}, config_type_id = #{configTypeId}, config_type_name = #{configTypeName}, school_institution = #{schoolInstitution}, competent_department = #{competentDepartment}, province_id = #{provinceId}, province_name = #{provinceName}, city_id = #{cityId}, city_name = #{cityName}, area_id = #{areaId}, area_name = #{areaName}, address = #{address}, remarks = #{remarks}, tags = #{tags}, school_web = #{schoolWeb}, accept_phone = #{acceptPhone}, school_mail = #{schoolMail}, school_birthday = #{schoolBirthday}, area_size = #{areaSize}, male_ratio = #{maleRatio}, female_ratio = #{femaleRatio}, postgraduate_ratio = #{postgraduateRatio}, offer_ratio = #{offerRatio}, change_major_ratio = #{changeMajorRatio}, masters_degree = #{mastersDegree}, masters_degree_detail = #{mastersDegreeDetail}, doctorate = #{doctorate}, doctorate_detail = #{doctorateDetail}, ace = #{ace}, ranking = #{ranking}, create_at = #{createAt}, update_at = #{updateAt}, del_flag = #{delFlag}, position_id = #{positionId}, suggest_id = #{suggestId}, accept_premise = #{acceptPremise}, masters_degree_type = #{mastersDegreeType}, doctorate_type = #{doctorateType}, is_new_accept = #{isNewAccept}, has_new_link = #{hasNewLink}, is_change = #{isChange}, no_plan = #{noPlan}, qr_code = #{qrCode}, sys_user_id = #{sysUserId}, sys_user_name = #{sysUserName}, sys_user_password = #{sysUserPassword}, sys_user_status = #{sysUserStatus}, where school_id = #{schoolId} update mall_school set del_flag = '1' where school_id = #{schoolId} update mall_school set del_flag = '1' where school_id in #{schoolId} update mall_accept_plan Set school_id = #{schoolId}, update_at = now() Where school_id = #{deleteSchoolId} update mall_school_accept Set school_id = #{schoolId}, update_at = now() Where school_id = #{deleteSchoolId} update mall_school_accept_record Set school_id = #{schoolId}, update_at = now() Where school_id = #{deleteSchoolId} update mall_school_batch_link Set school_id = #{schoolId}, update_at = now() Where school_id = #{deleteSchoolId} update mall_link_major_school Set school_id = #{schoolId}, school_name = #{schoolName}, update_at = now() Where school_id = #{deleteSchoolId} update mall_school_scenery Set school_id = #{schoolId}, update_at = now() Where school_id = #{deleteSchoolId} update mall_school_introduce Set school_id = #{schoolId}, update_at = now() Where school_id = #{deleteSchoolId} update mall_school qr_code = #{qrCode}, sys_user_id = #{sysUserId}, sys_user_name = #{sysUserName}, sys_user_password = #{sysUserPassword}, sys_user_status = #{sysUserStatus}, where school_id = #{schoolId}