Browse Source

Merge branch 'dev/20201123_1.4.8' into innerDevelop

chengyao 4 years ago
parent
commit
b65c0960b5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/diagbot/facade/BehospitalInfoFacade.java

+ 1 - 1
src/main/java/com/diagbot/facade/BehospitalInfoFacade.java

@@ -563,7 +563,7 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
         List<HomeDiagnoseInfo> homePageList = new ArrayList<>();
         List<HomeDiagnoseInfo> homePageList = new ArrayList<>();
         List<HomeOperationInfo> homeOperationInfoList = new ArrayList<>();
         List<HomeOperationInfo> homeOperationInfoList = new ArrayList<>();
         if (homePage != null) {
         if (homePage != null) {
-            if(StringUtils.isNotEmpty(homePage.getAge())){
+            if(StringUtils.isNotEmpty(homePage.getAge())&&"-".equals(homePage.getAge())==false&&"—".equals(homePage.getAge())==false){
                 //兼容数据库出现 .03岁数据 作后期判断处理
                 //兼容数据库出现 .03岁数据 作后期判断处理
                 String ageData = homePage.getAge();
                 String ageData = homePage.getAge();
                 String ageUnitString = homePage.getAgeUnit() == null ? "" : homePage.getAgeUnit();
                 String ageUnitString = homePage.getAgeUnit() == null ? "" : homePage.getAgeUnit();