Commit 95a1054462a270583194c9261ff5207905dc6824

Authored by liquanyu
1 parent f5231b60e0

导出

Showing 1 changed file with 5 additions and 6 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/MatDeliverController.java View file @ 95a1054
... ... @@ -375,20 +375,19 @@
375 375 String weight = "";
376 376 if (queryModel.getBabyWeight() != null && queryModel.getBabyWeight().contains(","))
377 377 {
378   - System.out.println("===========" + queryModel.getBabyWeight());
379 378 String arrs[] = queryModel.getBabyWeight().split(",");
380 379 for (int i = 0 ; i < arrs.length ; i++)
381 380 {
382 381 try {
383 382 weight+=(Double.parseDouble(arrs[i]) * 1000)+"";
384   - if (i != arrs.length -1)
385   - {
386   - weight += ",";
387   - }
388 383 }
389 384 catch (Exception E)
390 385 {
391   - continue;
  386 + weight+=arrs[i];
  387 + }
  388 + if (i != arrs.length -1)
  389 + {
  390 + weight += ",";
392 391 }
393 392  
394 393 }