select subjectId, subjectName, pinyin, sort, location, examType from subject insert into subject subjectId, subjectName, pinyin, location, examType, update_time, #{subjectId}, #{subjectName}, #{pinyin}, #{location}, #{examType}, #{updateTime}, update subject subjectName = #{subjectName}, pinyin = #{pinyin}, location = #{location}, examType = #{examType}, update_time=#{updateTime}, where subjectId = #{subjectId} delete from subject where subjectId = #{subjectId} delete from subject where subjectId in #{subjectId}