Commit 76fd531d authored by Quxl's avatar Quxl

x

parent b487b17f
......@@ -939,10 +939,11 @@ public class CartQueryServiceImpl implements CartQueryService {
Integer nPartakeNum = Util.objTo(map.get("nPartakeNum"), Integer.class, 0);
BigDecimal nApSalePrice = (BigDecimal)map.get("nApSalePrice");
BigDecimal nSetPrice = (BigDecimal)map.get("nSetPrice");
BigDecimal nDefaultPrice = (BigDecimal)map.get("nDefaultPrice");
if(nApSalePrice != null) {
map.put("nRealSalePrice", nApSalePrice);
}
if(nSetPrice != null && nSetPrice.compareTo(BigDecimal.ZERO) > 0) {
if(nSetPrice != null && nDefaultPrice != null && nSetPrice.compareTo(nDefaultPrice) > 0) {
map.put("nRealSalePrice", nSetPrice);
}
String sPromoPaperNO = (String) map.get("sPromoPaperNO");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment