Commit 8936c9b7 authored by 张永's avatar 张永

1

parent daa14e7d
...@@ -54,7 +54,7 @@ public class CartQueryServiceImpl implements CartQueryService { ...@@ -54,7 +54,7 @@ public class CartQueryServiceImpl implements CartQueryService {
List<Map<String, Object>> wmsSumPayList = new ArrayList<Map<String, Object>>(); List<Map<String, Object>> wmsSumPayList = new ArrayList<Map<String, Object>>();
Map<String,Object> orderSumPayMap = new HashMap<String,Object>(); //订单汇总 Map<String,Object> orderSumPayMap = new HashMap<String,Object>(); //订单汇总
try { try {
String sql = "exec up_B2BGetSumCart '" + shopNo + "',1 "; String sql = "exec up_B2BGetSumCart '" + shopNo + "', '"+isCalcPromo+"' ";
List<List<Map<String, Object>>> cartList = jdbcTemplate.executeMutil(sql).getDatas(); List<List<Map<String, Object>>> cartList = jdbcTemplate.executeMutil(sql).getDatas();
orderSumPayList = cartList.get(0); //按订单汇总的 orderSumPayList = cartList.get(0); //按订单汇总的
if(orderSumPayList != null && orderSumPayList.size()>0) { if(orderSumPayList != null && orderSumPayList.size()>0) {
...@@ -72,13 +72,7 @@ public class CartQueryServiceImpl implements CartQueryService { ...@@ -72,13 +72,7 @@ public class CartQueryServiceImpl implements CartQueryService {
e1.printStackTrace(); e1.printStackTrace();
} }
try {
String sql1 = "exec up_B2BCartToCartTempItem '" + shopNo + "', '"+isCalcPromo+"' "; //是否计算促销
jdbcTemplate.executeUpdate(sql1);
} catch (Exception e1) {
e1.printStackTrace();
}
List<Map<String, Object>> datas = this.getGoodsList(orgNo, shopNo, terminal); List<Map<String, Object>> datas = this.getGoodsList(orgNo, shopNo, terminal);
System.out.println("datas: " + GsonUtil.toJson(datas)); System.out.println("datas: " + GsonUtil.toJson(datas));
......
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