Authored by chenchao

sync 2 prd

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