INSERT INTO `excellog` ( `formId`,`tenantId`, `formName`, `startTime`, `state`, `filePath`, `overTime`, `mag`, `insP`, `dataState`, `type` ) VALUES ( #{formId}, #{tenantId}, #{formName}, #{startTime}, #{state}, #{filePath}, #{overTime}, #{mag}, #{insP}, #{dataState}, #{type} ) UPDATE excellog SET state = #{state}, overTime = #{overTime}, mag = #{mag} WHERE id = #{id}