id, pid, record_time, state, principal, operator, comment delete from patent_log where id = #{id,jdbcType=VARCHAR} insert into patent_log (id, pid, record_time, state, principal, operator, comment) values (#{id,jdbcType=VARCHAR}, #{pid,jdbcType=VARCHAR}, #{recordTime,jdbcType=TIMESTAMP}, #{state,jdbcType=INTEGER}, #{principal,jdbcType=VARCHAR}, #{operator,jdbcType=VARCHAR}, #{comment,jdbcType=VARCHAR}) insert into patent_log id, pid, record_time, state, principal, operator, comment, #{id,jdbcType=VARCHAR}, #{pid,jdbcType=VARCHAR}, #{recordTime,jdbcType=TIMESTAMP}, #{state,jdbcType=INTEGER}, #{principal,jdbcType=VARCHAR}, #{operator,jdbcType=VARCHAR}, #{comment,jdbcType=VARCHAR}, update patent_log pid = #{pid,jdbcType=VARCHAR}, record_time = #{recordTime,jdbcType=TIMESTAMP}, state = #{state,jdbcType=INTEGER}, principal = #{principal,jdbcType=VARCHAR}, operator = #{operator,jdbcType=VARCHAR}, comment = #{comment,jdbcType=VARCHAR}, where id = #{id,jdbcType=VARCHAR} update patent_log set pid = #{pid,jdbcType=VARCHAR}, record_time = #{recordTime,jdbcType=TIMESTAMP}, state = #{state,jdbcType=INTEGER}, principal = #{principal,jdbcType=VARCHAR}, operator = #{operator,jdbcType=VARCHAR}, comment = #{comment,jdbcType=VARCHAR} where id = #{id,jdbcType=VARCHAR}