Commit 3429a0ae09dcbfe0a8478c254f0a5b7617272c2f
1 parent
9bb66c5023
Exists in
master
and in
1 other branch
修改产检删除
Showing 1 changed file with 20 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/RiskPatientsResult.java
View file @
3429a0a
... | ... | @@ -83,6 +83,10 @@ |
83 | 83 | private String bTime; |
84 | 84 | |
85 | 85 | public String getbTime() { |
86 | + if(StringUtils.isEmpty(bTime)){ | |
87 | + return SPIT; | |
88 | + } | |
89 | + | |
86 | 90 | return bTime; |
87 | 91 | } |
88 | 92 | |
... | ... | @@ -91,6 +95,10 @@ |
91 | 95 | } |
92 | 96 | |
93 | 97 | public String getRegisterAddr() { |
98 | + | |
99 | + if(StringUtils.isEmpty(bTime)){ | |
100 | + return SPIT; | |
101 | + } | |
94 | 102 | return registerAddr; |
95 | 103 | } |
96 | 104 | |
... | ... | @@ -99,6 +107,10 @@ |
99 | 107 | } |
100 | 108 | |
101 | 109 | public String getAddr() { |
110 | + | |
111 | + if(StringUtils.isEmpty(bTime)){ | |
112 | + return SPIT; | |
113 | + } | |
102 | 114 | return addr; |
103 | 115 | } |
104 | 116 | |
... | ... | @@ -107,6 +119,10 @@ |
107 | 119 | } |
108 | 120 | |
109 | 121 | public String getFirstBH() { |
122 | + | |
123 | + if(StringUtils.isEmpty(bTime)){ | |
124 | + return SPIT; | |
125 | + } | |
110 | 126 | return firstBH; |
111 | 127 | } |
112 | 128 | |
... | ... | @@ -115,6 +131,10 @@ |
115 | 131 | } |
116 | 132 | |
117 | 133 | public String getCurrentCh() { |
134 | + | |
135 | + if(StringUtils.isEmpty(bTime)){ | |
136 | + return SPIT; | |
137 | + } | |
118 | 138 | return currentCh; |
119 | 139 | } |
120 | 140 |