Commit 425aaa302eda782a0c31fb19525563cd22fbe627
1 parent
0eb2067276
Exists in
master
and in
6 other branches
工位
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/worker/MaterDeliverWorker.java
View file @
425aaa3
... | ... | @@ -324,7 +324,7 @@ |
324 | 324 | livelList.add(babyModel); |
325 | 325 | } |
326 | 326 | } |
327 | - childbirthManagerQueryModel.setLivingNumber(livelList.size()); | |
327 | + childbirthManagerQueryModel.setLivingNumber(livelList.size() == 0 ? babyModelList.size() : livelList.size()); | |
328 | 328 | } else { |
329 | 329 | if (childbirthManagerQueryModel.getTireNumber() == null) { |
330 | 330 | childbirthManagerQueryModel.setLivingNumber(null); |