insert into page_view (channel_id, agent_id,
channel_product_id, look_number, create_time
)
values ( #{channelId,jdbcType=INTEGER}, #{agentId,jdbcType=INTEGER},
#{channelProductId,jdbcType=INTEGER}, #{lookNumber,jdbcType=INTEGER}, getdate()
)
update page_view set look_number = look_number + 1
where channel_id = #{channelId} and agent_id = #{agentId} and channel_product_id = #{channelProductId}