Authored by qinchao

fix 文案显示颜色

... ... @@ -30,10 +30,7 @@ import com.yohoufo.order.service.proxy.UserProxyService;
import com.yohoufo.order.service.support.codegenerator.OrderCodeGenerator;
import com.yohoufo.order.service.support.codegenerator.bean.CodeMeta;
import com.yohoufo.order.service.wrapper.SellerOrderTimeoutWrapper;
import com.yohoufo.order.utils.LoggerUtils;
import com.yohoufo.order.utils.OrderAssist;
import com.yohoufo.order.utils.SellerGoodsHelper;
import com.yohoufo.order.utils.TimeUtils;
import com.yohoufo.order.utils.*;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
... ... @@ -356,7 +353,7 @@ public class SellerOrderDetailService extends AbsOrderDetailService implements I
}else{
BigDecimal leastPrice = goodsInfo.getLeastPrice();
if(leastPrice!=null && leastPrice.compareTo(goodsInfo.getPrice())<0){
return sellerOrderViewService.buildOtherLowerPriceTips(leastPrice);
return MsgHelper.FLAG_PRE+sellerOrderViewService.buildOtherLowerPriceTips(leastPrice)+MsgHelper.FLAG_SUFFIX;
}
}
return defaultResult;
... ...
... ... @@ -99,7 +99,7 @@ public class SellerOrderViewService {
}
String buildOtherLowerPriceTips(BigDecimal leastPrice){
return MsgHelper.FLAG_PRE+"有更低出售价¥" + BigDecimalHelper.formatNumber(leastPrice, BigDecimalHelper.FORMAT_NOPOINT)+",建议下调价格,以便尽快售出。"+MsgHelper.FLAG_SUFFIX;
return "有更低出售价¥" + BigDecimalHelper.formatNumber(leastPrice, BigDecimalHelper.FORMAT_NOPOINT)+",建议下调价格,以便尽快售出。";
}
}
... ...