@ibiz-template/model-helper 0.7.41-alpha.36 → 0.7.41-alpha.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -20094,7 +20094,9 @@ var ModelHelper = class {
20094
20094
  const util = this.getModelUtil(appId);
20095
20095
  const model = await util.getAppDataEntityModel(name, isId, true);
20096
20096
  const dsl = this.dsl.appDataEntity(model);
20097
- this.calcAppDataEntitySubAppModel(dsl);
20097
+ if (!appId || appId === ibiz.env.appId) {
20098
+ this.calcAppDataEntitySubAppModel(dsl);
20099
+ }
20098
20100
  const list = await util.servicePathUtil.calcRequestPaths(dsl.id);
20099
20101
  dsl.requestPaths = list;
20100
20102
  dsl.codeName2 = plural(dsl.codeName.toLowerCase());