|
@@ -563,6 +563,7 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
|
|
|
List<HomeDiagnoseInfo> homePageList = new ArrayList<>();
|
|
|
List<HomeOperationInfo> homeOperationInfoList = new ArrayList<>();
|
|
|
if (homePage != null) {
|
|
|
+ try {
|
|
|
if(StringUtils.isNotEmpty(homePage.getAge())&&"-".equals(homePage.getAge())==false&&"—".equals(homePage.getAge())==false){
|
|
|
//兼容数据库出现 .03岁数据 作后期判断处理
|
|
|
String ageData = homePage.getAge();
|
|
@@ -604,6 +605,9 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
|
|
|
}
|
|
|
//去掉年龄单位
|
|
|
homePage.setAgeUnit("");
|
|
|
+ } catch (Exception e) {
|
|
|
+ System.out.println("年龄解析出错" + e);
|
|
|
+ }
|
|
|
// 获取首页出院诊断、病理诊断
|
|
|
homePageList = homeDiagnoseInfoFacade.list(new QueryWrapper<HomeDiagnoseInfo>()
|
|
|
.eq("is_deleted", IsDeleteEnum.N.getKey())
|