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