项目中需要去更新数据的版本号.
INSERT INTO Biz_CourseErrorBookDetail (CourseID,QuestionID,StudentID,ErrorCount,LastTime,CreateDTM) VALUES (#{emp.CourseID}, #{emp.QuestionID}, #{emp.StudentID}, 0, NOW(), NOW()) ON DUPLICATE KEY UPDATE ErrorCount = ErrorCount + 1,LastTime = NOW(),UpdateDTM = NOW()