Commit 5e5bc360c3ad1e743bd0c5fb15b1dc1ce86cf97f

Authored by liquanyu
1 parent 09b7d8d8ca

分娩

Showing 1 changed file with 1 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/MatDeliverController.java View file @ 5e5bc36
... ... @@ -500,7 +500,7 @@
500 500 }
501 501 //weight = (Double.parseDouble(queryModel.getBabyWeight()) * 1000)+"";
502 502 }
503   - else if(0 == nu && "-".equals(queryModel.getBabyWeight())){
  503 + else if(0 == nu && "-".equals(queryModel.getBabyWeight()) && StringUtils.isNotEmpty(queryModel.getBabyWeight())){
504 504 weight = queryModel.getBabyWeight();
505 505 }
506 506 map.put("weight",weight);