Authored by chenchao

fix suggest price show

@@ -528,13 +528,16 @@ public class SkupListService { @@ -528,13 +528,16 @@ public class SkupListService {
528 productInfo.setStorageId(sellerOrderGoods.getStorageId()); 528 productInfo.setStorageId(sellerOrderGoods.getStorageId());
529 Integer soga = sellerOrderGoods.getAttributes(); 529 Integer soga = sellerOrderGoods.getAttributes();
530 SkupType skupType = SkupType.getSkupType(soga); 530 SkupType skupType = SkupType.getSkupType(soga);
  531 + boolean isAdvance = OrderAssist.skupIsAdvance(sellerOrderGoods.getAttributes());
531 // 532 //
532 GoodsInfo giwp = storageIdGoodInfoMap.get(sellerOrderGoods.getStorageId()); 533 GoodsInfo giwp = storageIdGoodInfoMap.get(sellerOrderGoods.getStorageId());
533 if (Objects.nonNull(giwp)){ 534 if (Objects.nonNull(giwp)){
534 productInfo.setMinPrice(giwp.getMinPrice()); 535 productInfo.setMinPrice(giwp.getMinPrice());
535 productInfo.setMaxPrice(giwp.getMaxPrice()); 536 productInfo.setMaxPrice(giwp.getMaxPrice());
536 - productInfo.setSuggestMinPrice(giwp.getSuggestMinPrice());  
537 - productInfo.setSuggestMaxPrice(giwp.getSuggestMaxPrice()); 537 + if (!isAdvance) {
  538 + productInfo.setSuggestMinPrice(giwp.getSuggestMinPrice());
  539 + productInfo.setSuggestMaxPrice(giwp.getSuggestMaxPrice());
  540 + }
538 PrdPrice prdPrice; 541 PrdPrice prdPrice;
539 if (Objects.nonNull(prdPrice=giwp.getPrdPrice())) { 542 if (Objects.nonNull(prdPrice=giwp.getPrdPrice())) {
540 BigDecimal leastPrice = prdPrice.getLeastPrice(skupType); 543 BigDecimal leastPrice = prdPrice.getLeastPrice(skupType);
@@ -544,7 +547,7 @@ public class SkupListService { @@ -544,7 +547,7 @@ public class SkupListService {
544 547
545 orderListInfo.setGoodsInfo(productInfo); 548 orderListInfo.setGoodsInfo(productInfo);
546 //tips 549 //tips
547 - if (!OrderAssist.skupIsAdvance(sellerOrderGoods.getAttributes())){ 550 + if (!isAdvance){
548 orderListInfo.setTips(overPriceTipsMap.get(OrderAssist.overFlowPriceKey(sellerOrderGoods.getStorageId(), sellerOrderGoods.getGoodsPrice()))); 551 orderListInfo.setTips(overPriceTipsMap.get(OrderAssist.overFlowPriceKey(sellerOrderGoods.getStorageId(), sellerOrderGoods.getGoodsPrice())));
549 } 552 }
550 orderListInfo.setIsAdvance(OrderAssist.getSkupIsAdvance(soga)); 553 orderListInfo.setIsAdvance(OrderAssist.getSkupIsAdvance(soga));