INSERT INTO TaskLog ( taskLogId, title, startTime, endTime, result ) Values ( #{taskLogId}, #{title}, #{startTime}, #{endTime}, #{result} ) UPDATE TaskLog SET taskLogId = #{taskLogId}, title = #{title}, startTime = #{startTime}, endTime = #{endTime}, result = #{result} where taskLogId=#{taskLogId}