insert into store_cart( value_id,product_id,cart_id,person_id,state,store_id,cart_num ) values ( #{valueId},#{productId},#{cartId},#{personId},#{state},#{storeId},#{cartNum} ) update store_cart t set t.status_cd = #{statusCd} , t.value_id= #{valueId} , t.product_id= #{productId} , t.person_id= #{personId} , t.state= #{state} , t.cart_num= #{cartNum} where 1=1 and t.cart_id= #{cartId} and t.store_id= #{storeId}