id, name, cancel_flag, belong_id update t_maint_transport set cancel_flag = '9' where id = #{id,jdbcType=VARCHAR} SELECT REPLACE(UUID(),'-','') as id from dual insert into t_maint_transport (id, name, cancel_flag, belong_id) values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{cancelFlag,jdbcType=VARCHAR}, #{belongId,jdbcType=VARCHAR}) update t_maint_transport set name = #{name,jdbcType=VARCHAR} where id = #{id,jdbcType=VARCHAR}