提交 e00ef82a 编写于 作者: sq3536's avatar sq3536

bugfix

上级 9a82a7dd
......@@ -223,6 +223,8 @@ public class SystemModel extends BaseModel {
public synchronized Map<String, SubServiceApiModel> getSubServiceApiMap() {
if (subServiceApiMap == null) {
subServiceApiMap = new LinkedHashMap<>();
if(getSystem().getAllPSSubSysServiceAPIs()!=null)
{
getSystem().getAllPSSubSysServiceAPIs().forEach(subSysServiceAPI -> {
SubServiceApiModel subapi=new SubServiceApiModel(subSysServiceAPI).setSystem(this);
subServiceApiMap.put(subSysServiceAPI.getCodeName(), subapi);
......@@ -239,6 +241,8 @@ public class SystemModel extends BaseModel {
});
}
}
return subServiceApiMap;
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册