Commit 7dfb3b550fb1e470310f5cee3d7f9a3c58cf711e
1 parent
57f41ce676
Exists in
master
and in
1 other branch
孕妇基本信息
Showing 1 changed file with 9 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java
View file @
7dfb3b5
... | ... | @@ -727,7 +727,15 @@ |
727 | 727 | } |
728 | 728 | } |
729 | 729 | BaseObjectResponse objectResponse = new BaseObjectResponse(); |
730 | - objectResponse.setData(pat); | |
730 | + if (pat == null) | |
731 | + { | |
732 | + objectResponse.setData(""); | |
733 | + } | |
734 | + else | |
735 | + { | |
736 | + objectResponse.setData(pat); | |
737 | + } | |
738 | + | |
731 | 739 | objectResponse.setErrorcode(ErrorCodeConstants.SUCCESS); |
732 | 740 | objectResponse.setErrormsg("成功"); |
733 | 741 | return objectResponse; |