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; }