Commit 33daa5da authored by 张永's avatar 张永

1

parent fe7fb930
......@@ -131,8 +131,7 @@ public class CartQueryServiceImpl implements CartQueryService {
try {
String sql = "exec up_B2BGetSumCart '" + shopNo + "',1 "; //计算汇总
orderSumPayList = jdbcTemplate.executeMutil(sql).getDatas().get(0); //按订单汇总的
wmsSumPayList = jdbcTemplate.executeMutil(sql).getDatas().get(1); //按仓库汇总
if(orderSumPayList != null && orderSumPayList.size()>0) {
Map<String,Object> orderSumPayMap = orderSumPayList.get(0);
......@@ -151,7 +150,7 @@ public class CartQueryServiceImpl implements CartQueryService {
return errRjx;
}
}
wmsSumPayList = jdbcTemplate.executeMutil(sql).getDatas().get(1); //按仓库汇总
List<Map<String, Object>> rjxWmsList = (List<Map<String, Object>>)rjx.get("wmsList");
if(wmsSumPayList != null && rjxWmsList != null && wmsSumPayList.size() >0 && rjxWmsList.size() >0) {
for(Map<String,Object> wmsMap :wmsSumPayList) {
......
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