Commit f4665f09 authored by 张永's avatar 张永

11

parent 59afa4f0
......@@ -231,6 +231,7 @@ public class CartQueryServiceImpl implements CartQueryService {
BigDecimal unitSum = BigDecimal.ZERO;
for(Object goodsId : goodsIdList) {
Map<String, Object> goodsMap = gmm.get(goodsId);
System.out.println(GsonUtil.toJson(goodsMap));
Integer nTag = (Integer) goodsMap.get("nTag");
if((nTag&2048) == 0) {
BigDecimal orderUnit = (BigDecimal)goodsMap.get("orderUnit");
......@@ -887,9 +888,10 @@ public class CartQueryServiceImpl implements CartQueryService {
});
BigDecimal TotalAmount = BigDecimal.ZERO;
Map<String, Object> goodsFirst = GoodsList.get(0);
System.out.println(GsonUtil.toJson(goodsFirst));
Double MinOrderAmt = Util.objTo(goodsFirst.get("nMinDCAmount"), Double.class); // 最小配送金额
String WMSInfo = (String) goodsFirst.get("sWarehouseName"); // 物流名称
String sWarehouseNO = (String) goodsFirst.get("sWarehouseNO"); // 物流名称
String WMSInfo = goodsFirst.get("sWarehouseName")+""; // 物流名称
String sWarehouseNO = goodsFirst.get("sWarehouseNO")+""; // 物流名称
BigDecimal nMinTranAmount = (BigDecimal)goodsFirst.get("nMinTranAmount");
Integer nMinTranCase = (Integer)goodsFirst.get("nMinTranCase");
......
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