Authored by chenchao

fix : format null 2 number

@@ -146,6 +146,9 @@ public class SellerOrderViewService { @@ -146,6 +146,9 @@ public class SellerOrderViewService {
146 } 146 }
147 147
148 String buildLeastPriceTips(BigDecimal leastPrice, SkupType skupType){ 148 String buildLeastPriceTips(BigDecimal leastPrice, SkupType skupType){
  149 + if(leastPrice == null){
  150 + return null;
  151 + }
149 String prefix = buildLeastPriceTipsPrefix(skupType); 152 String prefix = buildLeastPriceTipsPrefix(skupType);
150 return prefix==null ? null : prefix + "¥" + BigDecimalHelper.formatNumber(leastPrice, BigDecimalHelper.FORMAT_NOPOINT); 153 return prefix==null ? null : prefix + "¥" + BigDecimalHelper.formatNumber(leastPrice, BigDecimalHelper.FORMAT_NOPOINT);
151 } 154 }