Commit f4665f09 authored by 张永's avatar 张永

11

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