diff --git a/src/main/java/com/zzjee/BI/BiController.java b/src/main/java/com/zzjee/BI/BiController.java index eec6b92e..3c441052 100644 --- a/src/main/java/com/zzjee/BI/BiController.java +++ b/src/main/java/com/zzjee/BI/BiController.java @@ -180,8 +180,13 @@ public class BiController extends BaseController { for (Map object : maplist) { map = new HashMap(); Map obj = object; - map.put("name", obj.get("create_date").toString()); - map.put("y", (int) Double.parseDouble(obj.get("amount").toString())); + try{ + + map.put("name", obj.get("create_date").toString()); + map.put("y", (int) Double.parseDouble(obj.get("amount").toString())); + }catch (Exception e){ + + } Double groupCount = 0.00; try{ groupCount = Double.parseDouble(obj.get("amount").toString()); diff --git a/src/main/webapp/webpage/com/zzjee/md/mdavabinlist.jsp b/src/main/webapp/webpage/com/zzjee/md/mdavabinlist.jsp index b805d71a..4790a4e7 100644 --- a/src/main/webapp/webpage/com/zzjee/md/mdavabinlist.jsp +++ b/src/main/webapp/webpage/com/zzjee/md/mdavabinlist.jsp @@ -160,7 +160,7 @@ // console.log(width) for (let i = 1; i < list.length; i++) { messageContent += " "; - messageContent += [i] + " "; + messageContent += list[i].binid+ " "; // tincount = list[i].tincount + 0; // if (tincount > 0) { // messageContent += " ";