@ibiz-template/model-helper 0.6.5 → 0.6.7
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
|
@@ -16437,6 +16437,15 @@ var ModelHelper = class {
|
|
|
16437
16437
|
const list = util.servicePathUtil.calcRequestPaths(dsl.id);
|
|
16438
16438
|
dsl.requestPaths = list;
|
|
16439
16439
|
dsl.codeName2 = plural(dsl.codeName.toLowerCase());
|
|
16440
|
+
if (dsl.deapicodeName) {
|
|
16441
|
+
if (!dsl.deapicodeName2) {
|
|
16442
|
+
dsl.deapicodeName2 = plural(dsl.deapicodeName);
|
|
16443
|
+
}
|
|
16444
|
+
const { engineVer } = await util.getAppModel();
|
|
16445
|
+
if (!engineVer || engineVer < 240) {
|
|
16446
|
+
dsl.deapicodeName2 = dsl.deapicodeName2.toLowerCase();
|
|
16447
|
+
}
|
|
16448
|
+
}
|
|
16440
16449
|
return dsl;
|
|
16441
16450
|
}
|
|
16442
16451
|
/**
|