@ibiz-template/model-helper 0.5.1-dev.0 → 0.5.1

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.
@@ -44,7 +44,7 @@ export class ServicePathUtil {
44
44
  return this.entityRsMap.get(id);
45
45
  }
46
46
  const items = this.allDERss.filter(item => {
47
- if (item.minorAppDataEntityId === id) {
47
+ if (item.rSMode === 2 && item.minorAppDataEntityId === id) {
48
48
  return item;
49
49
  }
50
50
  return null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz-template/model-helper",
3
- "version": "0.5.1-dev.0",
3
+ "version": "0.5.1",
4
4
  "description": "控制器包",
5
5
  "main": "out/index.js",
6
6
  "types": "out/index.d.ts",
@@ -29,13 +29,13 @@
29
29
  "author": "chitanda",
30
30
  "license": "MIT",
31
31
  "dependencies": {
32
- "@ibiz/model-core": "^0.1.1",
33
- "@ibiz/rt-model-api": "^0.1.38",
32
+ "@ibiz/model-core": "^0.1.2",
33
+ "@ibiz/rt-model-api": "^0.1.39",
34
34
  "pluralize": "^8.0.0",
35
35
  "ramda": "^0.29.1"
36
36
  },
37
37
  "devDependencies": {
38
- "@ibiz-template/runtime": "^0.5.1-dev.0",
38
+ "@ibiz-template/runtime": "^0.5.1",
39
39
  "@types/pluralize": "^0.0.33",
40
40
  "@types/ramda": "^0.29.9"
41
41
  },
@@ -43,5 +43,5 @@
43
43
  "@ibiz-template/runtime": "^0.5.0-beta.0",
44
44
  "ramda": "^0.29.0"
45
45
  },
46
- "gitHead": "c54e4d6aef0c43875f83272fed9126b0265236e0"
46
+ "gitHead": "f442a5daebbca26f24b167d8afa470d8fd2ff8b8"
47
47
  }
@@ -84,7 +84,7 @@ export class ServicePathUtil {
84
84
  return this.entityRsMap.get(id)!;
85
85
  }
86
86
  const items = this.allDERss.filter(item => {
87
- if (item.minorAppDataEntityId === id) {
87
+ if ((item as IModel).rSMode === 2 && item.minorAppDataEntityId === id) {
88
88
  return item;
89
89
  }
90
90
  return null;