insert into product_spec_value( spec_id,value_id,product_id,price,ot_price,cost_price,vip_price,store_id,stock,sales,is_default ) values ( #{specId},#{valueId},#{productId},#{price},#{otPrice},#{costPrice},#{vipPrice},#{storeId},#{stock},#{sales},#{isDefault} ) update product_spec_value t set t.status_cd = #{statusCd} , t.spec_id= #{specId} , t.price= #{price} , t.ot_price= #{otPrice} , t.cost_price= #{costPrice} , t.vip_price= #{vipPrice} , t.stock= #{stock} , t.sales= #{sales} , t.is_default= #{isDefault} where 1=1 and t.value_id= #{valueId} and t.product_id= #{productId} and t.store_id= #{storeId}