INSERT INTO e_apply_students_new( apply_students_new_id, org_id, org_name, class_plan_id, user_id, name, sex, card_type, card_type_name, card_number, work_unit, work_dept, work_title, phone, exam_org_id, exam_org_name, exam_point_id, exam_point_name, hands_point_id, hands_point_name, exam_grade, hands_grade, resit_exam_grade, resit_hands_grade, apply_paper_status, check_status, reason, education, education_name, health, allow_project, training_time, card_time, id_card, card_validity, review_time, zhicheng, school, major, work_post, training_type, area, work_type, get_card_time, retraining_time, job_type, card_validity_end, creator, gmt_create, modifier, gmt_modified, is_delete ) VALUES( #{applyStudentsNewId}, #{orgId}, #{orgName}, #{classPlanId}, #{userId}, #{name}, #{sex}, #{cardType}, #{cardTypeName}, #{cardNumber}, #{workUnit}, #{workDept}, #{workTitle}, #{phone}, #{examOrgId}, #{examOrgName}, #{examPointId}, #{examPointName}, #{handsPointId}, #{handsPointName}, #{examGrade}, #{handsGrade}, #{resitExamGrade}, #{resitHandsGrade}, #{applyPaperStatus}, #{checkStatus}, #{reason}, #{education}, #{educationName}, #{health}, #{allowProject}, #{trainingTime}, #{cardTime}, #{idCard}, #{cardValidity}, #{reviewTime}, #{zhicheng}, #{school}, #{major}, #{workPost}, #{trainingType}, #{area}, #{workType}, #{getCardTime}, #{retrainingTime}, #{jobType}, #{cardValidityEnd}, #{creator}, #{gmtCreate}, #{modifier}, #{gmtModified}, #{isDelete} ) UPDATE e_apply_students_new SET gmt_modified = #{gmtModified}, modifier = #{modifier}, is_delete = 1 WHERE apply_students_new_id IN #{applyStudentsNewIds[${index}]} DELETE FROM e_apply_students_new WHERE apply_students_new_id IN #{applyStudentsNewIds[${index}]} UPDATE e_apply_students_new SET org_id = #{orgId}, org_name = #{orgName}, class_plan_id = #{classPlanId}, user_id = #{userId}, name = #{name}, sex = #{sex}, card_type = #{cardType}, card_type_name = #{cardTypeName}, card_number = #{cardNumber}, work_unit = #{workUnit}, work_dept = #{workDept}, work_title = #{workTitle}, phone = #{phone}, exam_org_id = #{examOrgId}, exam_org_name = #{examOrgName}, exam_point_id = #{examPointId}, exam_point_name = #{examPointName}, hands_point_id = #{handsPointId}, hands_point_name = #{handsPointName}, exam_grade = #{examGrade}, hands_grade = #{handsGrade}, resit_exam_grade = #{resitExamGrade}, resit_hands_grade = #{resitHandsGrade}, apply_paper_status = #{applyPaperStatus}, check_status = #{checkStatus}, reason = #{reason}, education = #{education}, education_name = #{educationName}, health = #{health}, allow_project = #{allowProject}, training_time = #{trainingTime}, card_time = #{cardTime}, id_card = #{idCard}, card_validity = #{cardValidity}, review_time = #{reviewTime}, zhicheng = #{zhicheng}, school = #{school}, major = #{major}, work_post = #{workPost}, training_type = #{trainingType}, area = #{area}, work_type = #{workType}, get_card_time = #{getCardTime}, retraining_time = #{retrainingTime}, job_type = #{jobType}, gmt_modified = #{gmtModified}, modifier = #{modifier}, card_validity_end = #{cardValidityEnd}, apply_students_new_id = apply_students_new_id WHERE 1 = 1 AND apply_students_new_id = #{applyStudentsNewId} AND class_plan_id = #{classPlanId}