insert into store_order( person_name,ext_order_id,order_id,total_price,pay_price,person_id,remark,o_id,state,freight_price ) values ( #{personName},#{extOrderId},#{orderId},#{totalPrice},#{payPrice},#{personId},#{remark},#{OId},#{state},#{freightPrice} ) update store_order t t.person_name= #{personName}, t.ext_order_id= #{extOrderId}, t.total_price= #{totalPrice}, t.pay_price= #{payPrice}, t.remark= #{remark}, t.state= #{state}, t.freight_price= #{freightPrice}, where 1=1 and t.order_id= #{orderId} t.o_id= #{oId}, t.person_id= #{personId},