INSERT INTO UnivHearExam ( examId, examType, isRecommend, title,
description, hearPaperId, created, startTime, endTime,
isNetExam , teacherId )
Values ( #{examId}, #{examType}, #{isRecommend}, #{title},
#{description}, #{hearPaperId}, current_timestamp, #{startTime},
#{endTime}, #{isNetExam} , #{teacherId} )
UPDATE UnivHearExam
SET examId = #{examId}, examType = #{examType},
isRecommend = #{isRecommend}, title = #{title},
description = #{description}, hearPaperId = #{hearPaperId},
created = #{created}, startTime = #{startTime},
endTime = #{endTime},
isNetExam = #{isNetExam} , teacherId = #{teacherId}
WHERE examId=#{examId}