select id, politics, moral_character, observe_discipline, attitude, attendance_situation, position_held, working_attitude, working_ability, ldeological_political, scientific_quality, physical_quality, total_points, counselor_comments, counselor_name, fill_data, college_opinion, stu_year, graduate_id, biao_jit from srs_graduate_student
INSERT INTO srs_graduate_studentinfo (
student_name,
student_code)
VALUES (
#{studentName},
#{studentCode})
insert into srs_graduate_student
counselor_comments,
counselor_name,
fill_data,
college_opinion,
stu_year,
biao_jit,
graduate_id,
#{yearOne.counselorComments},
#{yearOne.counselorName},
#{yearOne.fillData},
#{yearOne.collegeOpinion},
#{yearOne.stuYear},
#{yearOne.biaoJit},
#{graduateId}
insert into srs_graduate_student
counselor_comments,
counselor_name,
fill_data,
college_opinion,
stu_year,
biao_jit,
graduate_id,
#{yearTwo.counselorComments},
#{yearTwo.counselorName},
#{yearTwo.fillData},
#{yearTwo.collegeOpinion},
#{yearTwo.stuYear},
#{yearTwo.biaoJit},
#{graduateId},
insert into srs_graduate_student
counselor_comments,
counselor_name,
fill_data,
college_opinion,
stu_year,
biao_jit,
graduate_id
#{yearThree.counselorComments},
#{yearThree.counselorName},
#{yearThree.fillData},
#{yearThree.collegeOpinion},
#{yearThree.stuYear},
#{yearThree.biaoJit},
#{graduateId},
update srs_graduate_student
counselor_comments = #{yearOne.counselorComments},
counselor_name = #{yearOne.counselorName},
fill_data = #{yearOne.fillData},
college_opinion = #{yearOne.collegeOpinion},
stu_year = #{yearOne.stuYear},
biao_jit = #{yearOne.biaoJit},
graduate_id = #{graduateId},
graduate_id = #{graduateId}
and biao_jit = #{yearOne.biaoJit}
update srs_graduate_student
counselor_comments = #{yearTwo.counselorComments},
counselor_name = #{yearTwo.counselorName},
fill_data = #{yearTwo.fillData},
college_opinion = #{yearTwo.collegeOpinion},
stu_year = #{yearTwo.stuYear},
biao_jit = #{yearTwo.biaoJit},
graduate_id = #{graduateId},
graduate_id = #{graduateId}
and biao_jit = #{yearTwo.biaoJit}
update srs_graduate_student
counselor_comments = #{yearThree.counselorComments},
counselor_name = #{yearThree.counselorName},
fill_data = #{yearThree.fillData},
college_opinion = #{yearThree.collegeOpinion},
stu_year = #{yearThree.stuYear},
biao_jit = #{yearThree.biaoJit},
graduate_id = #{graduateId},
graduate_id = #{graduateId}
and biao_jit = #{yearThree.biaoJit}
delete from srs_graduate_student where id = #{id}
delete from srs_graduate_student where graduate_id in
#{id}