INSERT INTO e_apply_students( apply_id, apply_institution_id, apply_class_id, apply_class_name, apply_work_type_id, apply_name, apply_sex, apply_data_birth, apply_card_type, apply_card_number, apply_phone, apply_address, apply_culture_level, apply_postcode, apply_physical_state, apply_unit_name, apply_unit_phone, apply_unit_address, apply_position, apply_major_year, apply_technical_titles, apply_user_card_photo, apply_audit_state, apply_test_scores, bind_user_account, creator, gmt_create, modifier, gmt_modified, is_delete ) VALUES( #{applyId}, #{applyInstitutionId}, #{applyClassId}, #{applyClassName}, #{applyWorkTypeId}, #{applyName}, #{applySex}, #{applyDataBirth}, #{applyCardType}, #{applyCardNumber}, #{applyPhone}, #{applyAddress}, #{applyCultureLevel}, #{applyPostcode}, #{applyPhysicalState}, #{applyUnitName}, #{applyUnitPhone}, #{applyUnitAddress}, #{applyPosition}, #{applyMajorYear}, #{applyTechnicalTitles}, #{applyUserCardPhoto}, #{applyAuditState}, #{applyTestScores}, #{bind_user_account}, #{creator}, #{gmtCreate}, #{modifier}, #{gmtModified}, #{isDelete} ) UPDATE e_apply_students SET gmt_modified = #{gmtModified}, modifier = #{modifier}, is_delete = 1 WHERE apply_id IN #{applyIds[${index}]} DELETE FROM e_apply_students WHERE apply_id IN #{applyIds[${index}]} UPDATE e_apply_students SET apply_id = #{applyId}, apply_institution_id = #{applyInstitutionId}, apply_class_id = #{applyClassId}, apply_class_name = #{applyClassName}, apply_work_type_id = #{applyWorkTypeId}, apply_name = #{applyName}, apply_sex = #{applySex}, apply_data_birth = #{applyDataBirth}, apply_card_type = #{applyCardType}, apply_card_number = #{applyCardNumber}, apply_phone = #{applyPhone}, apply_address = #{applyAddress}, apply_culture_level = #{applyCultureLevel}, apply_postcode = #{applyPostcode}, apply_physical_state = #{applyPhysicalState}, apply_unit_name = #{applyUnitName}, apply_unit_phone = #{applyUnitPhone}, apply_unit_address = #{applyUnitAddress}, apply_position = #{applyPosition}, apply_major_year = #{applyMajorYear}, apply_technical_titles = #{applyTechnicalTitles}, apply_user_card_photo = #{applyUserCardPhoto}, apply_audit_state = #{applyAuditState}, apply_test_scores = #{applyTestScores}, gmt_modified = #{gmtModified}, modifier = #{modifier} WHERE 1 = 1 AND apply_id = #{applyId} AND apply_class_id = #{classPlanId}