Commit 27423dda authored by 张永's avatar 张永

需求 #15175

parent b0e5f448
......@@ -50,9 +50,11 @@ public class CartQueryServiceImpl implements CartQueryService {
+ Rjx.json().set("terminal", terminal).set("shopNo", shopNo).jsonValue());
}
List<Map<String, Object>> orderSumPayList = new ArrayList<Map<String, Object>>();
List<Map<String, Object>> orderSumPayList = new ArrayList<Map<String, Object>>();
List<Map<String, Object>> wmsSumPayList = new ArrayList<Map<String, Object>>();
Map<String,Object> orderSumPayMap = new HashMap<String,Object>(); //订单汇总
String MinOrderAmount = ""; //需求 #15175
try {
String sql = "exec up_B2BGetSumCart '" + shopNo + "', "+isCalcPromo+" ";
List<List<Map<String, Object>>> cartList = jdbcTemplate.executeMutil(sql).getDatas();
......@@ -66,6 +68,10 @@ public class CartQueryServiceImpl implements CartQueryService {
Rjx errRjx = Rjx.json().set("IsValid", false).set("errormsg", ErrorMsg);
return errRjx;
}
MinOrderAmount = orderSumPayMap.get("MinOrderAmount")+"";
rjx.set("MinOrderAmount", MinOrderAmount);
}
wmsSumPayList = cartList.get(1); //按仓库汇总
} catch (Exception e1) {
......
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