Commit 6de145df authored by 张永's avatar 张永

1

parent 67f8238d
......@@ -894,11 +894,13 @@ public class CartQueryServiceImpl implements CartQueryService {
BigDecimal TotalAmount = BigDecimal.ZERO;
Map<String, Object> goodsFirst = GoodsList.get(0);
logger.info("goodsFirst-----"+GsonUtil.toJson(goodsFirst));
String nMinDCAmount = goodsFirst.get("nMinDCAmount")+"";
if(!StringUtil.isNotBlank(nMinDCAmount)) {
nMinDCAmount = "0";
Double MinOrderAmt ;
try {
MinOrderAmt = Util.objTo(goodsFirst.get("nMinDCAmount"), Double.class);
} catch (Exception e) {
MinOrderAmt = Double.valueOf(0);
}
Double MinOrderAmt = Util.objTo(nMinDCAmount, Double.class); // 最小配送金额
String WMSInfo = goodsFirst.get("sWarehouseName")+""; // 物流名称
String sWarehouseNO = goodsFirst.get("sWarehouseNO")+""; // 物流名称
......
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