Commit 5ab6cf18fdfae3a0e7050b76c90ad420941eeccf
1 parent
6141a282a5
Exists in
master
and in
8 other branches
产妇增加字段
Showing 1 changed file with 8 additions and 5 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/AntexChuResult.java
View file @
5ab6cf1
... | ... | @@ -724,11 +724,14 @@ |
724 | 724 | } |
725 | 725 | |
726 | 726 | public AntexChuResult convertToResult(AntExChuModel antExChuModel) { |
727 | - setId(antExChuModel.getId()); | |
728 | - setParentId(antExChuModel.getParentId()); | |
729 | - setAbo(antExChuModel.getAbortion()); | |
730 | - setAlbumin(antExChuModel.getAbortion()); | |
731 | - setBaricIndex(antExChuModel.getBaricIndex()); | |
727 | + if(null!=antExChuModel){ | |
728 | + setId(antExChuModel.getId()); | |
729 | + setParentId(antExChuModel.getParentId()); | |
730 | + setAbo(antExChuModel.getAbortion()); | |
731 | + setAlbumin(antExChuModel.getAbortion()); | |
732 | + setBaricIndex(antExChuModel.getBaricIndex()); | |
733 | + } | |
734 | + | |
732 | 735 | return this; |
733 | 736 | } |
734 | 737 | } |