Commit 63573eb80b5758fbc01e29779720961a98ae0960

Authored by dongqin
1 parent 67fa1e677c

update

Showing 1 changed file with 5 additions and 5 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/BabyEvaluationCriterionServiceImpl.java View file @ 63573eb
... ... @@ -256,7 +256,7 @@
256 256 s1z = double1Z.toString();
257 257 }
258 258 objects1.add(s1z);
259   - objects1.add(double1Dq);
  259 + objects1.add((int)Double.parseDouble(double1Dq));
260 260  
261 261 LinkedList<Object> objects2 = new LinkedList<>();
262 262 String s2z = "";
... ... @@ -265,7 +265,7 @@
265 265 double2Dq = String.format(df.format(double2Z / checkMonth * 100));
266 266 }
267 267 objects2.add(s2z);
268   - objects2.add(double2Dq);
  268 + objects2.add((int)Double.parseDouble(double2Dq));
269 269  
270 270 LinkedList<Object> objects3 = new LinkedList<>();
271 271 String s3z = "";
... ... @@ -274,7 +274,7 @@
274 274 double3Dq = String.format(df.format(double3Z / checkMonth * 100));
275 275 }
276 276 objects3.add(s3z);
277   - objects3.add(double3Dq);
  277 + objects3.add((int)Double.parseDouble(double3Dq));
278 278  
279 279 LinkedList<Object> objects4 = new LinkedList<>();
280 280 String s4z = "";
... ... @@ -283,7 +283,7 @@
283 283 double4Dq = String.format(df.format(double4Z / checkMonth * 100));
284 284 }
285 285 objects4.add(s4z);
286   - objects4.add(double4Dq);
  286 + objects4.add((int)Double.parseDouble(double4Dq));
287 287  
288 288  
289 289 LinkedList<Object> objects5 = new LinkedList<>();
... ... @@ -293,7 +293,7 @@
293 293 double5Dq = String.format(df.format(double5Z / checkMonth * 100));
294 294 }
295 295 objects5.add(s5z);
296   - objects5.add(double5Dq);
  296 + objects5.add((int)Double.parseDouble(double5Dq));
297 297 reportMap.put("1", objects1);
298 298 reportMap.put("2", objects2);
299 299 reportMap.put("3", objects3);