Commit 7c86c980 by guojx

趋势图修复

parent f5c2ea2f
......@@ -112,12 +112,20 @@ public class WechatWorkController extends NewBaseController {
List<JSONObject> mapValue = voMap.get(date);
if (CollectionUtils.isNotEmpty(mapValue)) {
for (JSONObject tempJson : mapValue) {
if (tempJson.containsKey("1")) {
vo.setOnewayFriendNum(tempJson.getInteger("1"));
}
if (tempJson.containsKey("2")) {
vo.setTotalLostNum(tempJson.getInteger("2"));
}
if (tempJson.containsKey("3")) {
vo.setDeleteSalesNum(tempJson.getInteger("3"));
}
if (tempJson.containsKey("4")) {
vo.setSalesDeleteNum(tempJson.getInteger("4"));
}
}
}
voList.add(vo);
}
return RestResponse.successResult(voList);
......
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