Browse Source

容错处理

wangmiaomiao 11 months ago
parent
commit
6cf16be97f

+ 2 - 1
slibra-system/src/main/java/com/slibra/business/service/impl/FrontServiceImpl.java

@@ -357,7 +357,8 @@ public class FrontServiceImpl implements IFrontService {
                 }
             });
         }
-        return Objects.isNull(result) ? new XinyiIndustrySimple() : result.get();
+        XinyiIndustrySimple xinyiIndustrySimple = result.get();
+        return Objects.isNull(xinyiIndustrySimple) ? new XinyiIndustrySimple() : xinyiIndustrySimple;
     }