insert into channel_product (channelId, product_name,price) values (#{channelId,jdbcType=INTEGER}, #{productName,jdbcType=VARCHAR}, #{price,jdbcType=VARCHAR} ) update channel_product channel_price=#{channelPrice}, caption=#{caption}, where id = #{id} update channel_product set state=0 where channelId=#{id}