Authored by chenchao

sync 2 prd

@@ -301,6 +301,11 @@ public class ProductProxyService extends AbsProxyService{ @@ -301,6 +301,11 @@ public class ProductProxyService extends AbsProxyService{
301 Integer skupa = goods.getAttributes(); 301 Integer skupa = goods.getAttributes();
302 Integer presaleFlag = buildPresaleFlag(skupa); 302 Integer presaleFlag = buildPresaleFlag(skupa);
303 skupReq.setPreSaleFlag(presaleFlag); 303 skupReq.setPreSaleFlag(presaleFlag);
  304 + if (skupa!=null){
  305 + SkupTypeCodeSupport.CodeNode codeNode = SkupTypeCodeSupport.explain(skupa);
  306 + skupReq.setRegion(codeNode.getRegion());
  307 + }
  308 +
304 ApiResponse resp = ufoServiceCaller.call(syncSkup, skupReq); 309 ApiResponse resp = ufoServiceCaller.call(syncSkup, skupReq);
305 return (null == resp || null == resp.getData())? false : (boolean)resp.getData(); 310 return (null == resp || null == resp.getData())? false : (boolean)resp.getData();
306 } 311 }