Commit 6ea7862f authored by Quxl's avatar Quxl

x

parent 2b48dc3d
......@@ -78,7 +78,8 @@ public class ActivityServiceImpl implements ActivityService {
List<Map<String,Object>> goodsList = jdbcTemplate.queryForList(sql,projectId);
for(Map<String, Object> map : goodsList) {
Object PlanID = map.get("PlanID");
Object saleQty = mm.get("" + PlanID).get("nSaleQty");
Map<String, Object> mmm = mm.get("" + PlanID);
Object saleQty = mmm == null? 0 : mmm.get("nSaleQty");
map.put("SaleCount", saleQty);
}
......
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