瀏覽代碼

-年龄处理

chengyao 4 年之前
父節點
當前提交
a707a89ea6
共有 1 個文件被更改,包括 1 次插入1 次删除
  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<HomeOperationInfo> homeOperationInfoList = new ArrayList<>();
         if (homePage != null) {
-            if(StringUtils.isNotEmpty(homePage.getAge())&&"-".equals(homePage.getAge())==false){
+            if(StringUtils.isNotEmpty(homePage.getAge())&&"-".equals(homePage.getAge())==false&&"—".equals(homePage.getAge())==false){
                 //兼容数据库出现 .03岁数据 作后期判断处理
                 String ageData = homePage.getAge();
                 String ageUnitString = homePage.getAgeUnit() == null ? "" : homePage.getAgeUnit();