Authored by chenchao

add least price of hk prd

... ... @@ -78,6 +78,7 @@ public class SellerOrderViewService {
prdPrice.setSuggestMaxPrice(storage.getSuggestHighPrice());
prdPrice.setLeastPrice(storage.getLeastPrice());
prdPrice.setPreSaleLeastPrice(storage.getPreSaleLeastPrice());
prdPrice.setHkLeasePrice(storage.getHkLeastPrice());
}catch (Exception ex){
prdPrice = new PrdPrice();
logger.warn("in getPrdPrice fail, storageId {}", storageId);
... ...
... ... @@ -129,6 +129,7 @@ public class ProductProxyService extends AbsProxyService{
PrdPrice prdPrice = PrdPrice.builder()
.leastPrice(storage.getLeastPrice())
.preSaleLeastPrice(storage.getPreSaleLeastPrice())
.hkLeasePrice(storage.getHkLeastPrice())
.build();
goodsInfo.setPrdPrice(prdPrice);
}
... ... @@ -168,6 +169,7 @@ public class ProductProxyService extends AbsProxyService{
.suggestMinPrice(storage.getSuggestLowPrice())
.leastPrice(storage.getLeastPrice())
.preSaleLeastPrice(storage.getPreSaleLeastPrice())
.hkLeasePrice(storage.getHkLeastPrice())
.goodsPaymentRate(productInfo.getSellerServiceFeeRate())
.canPublish(productInfo.isSellerCanPublish())
.build();
... ... @@ -204,11 +206,12 @@ public class ProductProxyService extends AbsProxyService{
public StorageDataResp getStorageData(int storageId){
StorageDataResp prdResp = null;
final String api = STORAGE_DATA;
try {
prdResp = ufoServiceCaller.call(STORAGE_DATA, storageId);
prdResp = ufoServiceCaller.call(api, storageId);
logger.info("in getStorageData storageId {} prdResp {}", storageId, prdResp);
}catch (Exception ex){
logger.warn("in getStorageData call {} fail, storageId {}", STORAGE_DATA, storageId);
logger.warn("in getStorageData call {} fail, storageId {}", api, storageId);
}
return prdResp;
}
... ...