SV_CLASSROSTER
SCLASS_ID,
STUDENT_ID,
TEAMID,
CLASSROSTER_ID
#{SCLASS_ID},
#{STUDENT_ID},
#{TEAMID},
#{CLASSROSTER_ID}
insert into
(
) values (
)
delete from
where 1 != 1
or CLASSROSTER_ID = #{CLASSROSTER_ID}
or SCLASS_ID = #{SCLASS_ID}
or STUDENT_ID = #{STUDENT_ID}
or TEAMID = #{TEAMID}
update
set
SCLASS_ID = #{SCLASS_ID},
STUDENT_ID = #{STUDENT_ID},
TEAMID = #{TEAMID},
CLASSROSTER_ID = CLASSROSTER_ID
where
CLASSROSTER_ID = #{CLASSROSTER_ID}
delete from
where
CLASSROSTER_ID in
#{item}
delete from
where
STUDENT_ID in
#{item}