Authored by qinchao

更新地址

... ... @@ -3,6 +3,7 @@ package com.yohoufo.order.service.impl;
import com.yohobuy.ufo.model.order.req.BuyerOrderMetaUpdateReq;
import com.yohoufo.dal.order.BuyerOrderMetaMapper;
import com.yohoufo.dal.order.model.BuyerOrderMeta;
import com.yohoufo.order.constants.MetaKey;
import com.yohoufo.order.service.IBuyerOrderMetaService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
... ... @@ -22,7 +23,7 @@ public class BuyerOrderMetaServiceImpl implements IBuyerOrderMetaService {
BuyerOrderMeta meta=new BuyerOrderMeta();
meta.setUid(req.getUid());
meta.setOrderCode(req.getOrderCode());
meta.setMetaKey("delivery_address");
meta.setMetaKey(MetaKey.BUYER_DELIVERY_ADDRESS);
meta.setMetaValue(req.getAddress());
logger.info("BuyerOrderMetaServiceImpl updateDeliveryAddress meta param {} begin ",meta);
int result = buyerOrderMetaMapper.updateMetaValueByUidAndOrderCodeAndMetaKey(meta);
... ...