Commit 525cb726eed33e4c2b37e599bcc68a80d12becf9

Authored by jiangjiazhi
1 parent 5d08de1972

修改产检删除

Showing 1 changed file with 4 additions and 4 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PredictedStatisticsFacade.java View file @ 525cb72
... ... @@ -149,14 +149,14 @@
149 149  
150 150 }
151 151  
152   - private static String getGestationalWeeks(Date date, int type, int dueStatus) {
  152 + private static String getGestationalWeeks(Date date, int type, Integer dueStatus) {
153 153 if (type == 3) {
154   - if (dueStatus == 0) {
  154 + if (dueStatus!=null&&dueStatus == 0 ) {
155 155 return "已分娩";
156   - } else if (dueStatus == 1) {
  156 + } else if (dueStatus!=null&&dueStatus == 1) {
157 157 return "终止妊娠";
158 158 } else {
159   - return "";
  159 + return "已分娩";
160 160 }
161 161 }
162 162 try {