From a2b5c19f2642a88883378867cd772800041e4032 Mon Sep 17 00:00:00 2001 From: jiangjiazhi Date: Wed, 10 Aug 2016 14:45:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=95=E5=A6=87=E5=88=86=E5=A8=A9=E5=90=8E?= =?UTF-8?q?=20=E5=8F=98=E6=88=90=E4=BA=A7=E5=A6=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../operate/web/result/BabyApplyOrderResult.java | 57 +++++++++++++++++++++- 1 file changed, 55 insertions(+), 2 deletions(-) diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/BabyApplyOrderResult.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/BabyApplyOrderResult.java index 4e0bd89..ba45528 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/BabyApplyOrderResult.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/BabyApplyOrderResult.java @@ -11,6 +11,7 @@ import com.lyms.platform.pojo.ReferralApplyOrderModel; * Created by Administrator on 2016/7/14 0014. */ public class BabyApplyOrderResult { + public static final String SPIT="-"; private String id; //名字 private String name; @@ -97,6 +98,10 @@ public class BabyApplyOrderResult { } public String getApplyDoctor() { + + if(null==applyDoctor){ + return SPIT; + } return applyDoctor; } @@ -105,6 +110,10 @@ public class BabyApplyOrderResult { } public String getBirth() { + if(null==birth){ + return SPIT; + } + return birth; } @@ -113,6 +122,10 @@ public class BabyApplyOrderResult { } public String getCreated() { + + if(null==created){ + return SPIT; + } return created; } @@ -121,6 +134,10 @@ public class BabyApplyOrderResult { } public String gethRisk() { + if(null==hRisk){ + return SPIT; + } + return hRisk; } @@ -137,6 +154,10 @@ public class BabyApplyOrderResult { } public String getmName() { + + if(null==mName){ + return SPIT; + } return mName; } @@ -145,6 +166,10 @@ public class BabyApplyOrderResult { } public String getName() { + if(null==name){ + return SPIT; + } + return name; } @@ -153,6 +178,10 @@ public class BabyApplyOrderResult { } public String getPhone() { + + if(null==phone){ + return SPIT; + } return phone; } @@ -161,6 +190,10 @@ public class BabyApplyOrderResult { } public String getPotentialRisk() { + if(null==potentialRisk){ + return SPIT; + } + return potentialRisk; } @@ -169,6 +202,10 @@ public class BabyApplyOrderResult { } public String getReceived() { + + if(null==received){ + return SPIT; + } return received; } @@ -177,6 +214,10 @@ public class BabyApplyOrderResult { } public String getSex() { + + if(null==sex){ + return SPIT; + } return sex; } @@ -185,6 +226,10 @@ public class BabyApplyOrderResult { } public String getTransferredDisease() { + if(null==transferredDisease){ + return SPIT; + } + return transferredDisease; } @@ -192,7 +237,11 @@ public class BabyApplyOrderResult { this.transferredDisease = transferredDisease; } - public String getTransferredHospital() { + public String getTransferredHospital() + { + if(null==transferredHospital){ + return SPIT; + } return transferredHospital; } @@ -200,7 +249,11 @@ public class BabyApplyOrderResult { this.transferredHospital = transferredHospital; } - public String getYl() { + public String getYl() + { + if(null==yl){ + return SPIT; + } return yl; } -- 1.8.3.1