@Override protected void init() { List<YpPwBasicInfo> pws = graphIn.getYpPwBasicInfos(); if (CollectionUtils.isEmpty(pws)) { return; } for (YpPwBasicInfo ypPwBasicInfo : pws) { String cplx = ypPwBasicInfo.getCplx(); if (map.containsKey(cplx)) { map.put(cplx, map.get(cplx) + 1); } else { map.put(cplx, 1); } } map = GraphUtil.extra1(map); }
@Override protected void init() { List<YgyZdcsSaleDO> list = graphIn.getYgyZdcsSaleDOs(); if (CollectionUtils.isEmpty(list)) { return; } for (YgyZdcsSaleDO saleDO : list) { String jx = saleDO.getJx(); int val = Integer.valueOf(saleDO.getXse()); if (jxmap.containsKey(jx)) { jxmap.put(jx, jxmap.get(jx) + val); } else { jxmap.put(jx, val); } } jxmap = GraphUtil.extra1(jxmap); }