insert into catalog (channelId, name,sort) values (#{channelId,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER} ) update catalog name=#{name}, where id = #{id}