rez_core 2.0.36 → 2.0.39
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/module/meta/service/entity-list.service.js +0 -5
- package/dist/module/meta/service/entity-list.service.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/module/meta/service/entity-list.service.ts +5 -5
- package/src/module/meta/service/entity-service-impl.service.ts +1 -1
package/package.json
CHANGED
|
@@ -188,11 +188,11 @@ export class EntityListService {
|
|
|
188
188
|
let query = `SELECT COUNT(1) seq_no
|
|
189
189
|
FROM ${tableName} WHERE 1=1 `;
|
|
190
190
|
const argsObjectList: any[] = [];
|
|
191
|
-
if (parentId) {
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
}
|
|
191
|
+
// if (parentId) {
|
|
192
|
+
// query += ` AND parent_id = ? AND parent_type = ? `;
|
|
193
|
+
// argsObjectList.push(parentId);
|
|
194
|
+
// argsObjectList.push(parentType);
|
|
195
|
+
// }
|
|
196
196
|
|
|
197
197
|
let result = await this.entityManager.query(query, argsObjectList);
|
|
198
198
|
|
|
@@ -174,7 +174,7 @@ export class EntityServiceImpl implements EntityService<BaseEntity> {
|
|
|
174
174
|
entityData.modified_date = new Date();
|
|
175
175
|
if (loggedInUser) {
|
|
176
176
|
entityData.modified_by = loggedInUser.id;
|
|
177
|
-
if (!entityData.organization_id && entityData.parent_type !== '
|
|
177
|
+
if (!entityData.organization_id && entityData.parent_type !== 'ORGP')
|
|
178
178
|
entityData.organization_id = loggedInUser.organization_id;
|
|
179
179
|
if (!entityData.enterprise_id)
|
|
180
180
|
entityData.enterprise_id = loggedInUser.enterprise_id;
|