項目中須要去更新數據的版本號.spa
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()