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