rez_core 2.2.28 → 2.2.29
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/user/service/user.service.js +2 -1
- package/dist/module/user/service/user.service.js.map +1 -1
- package/dist/module/workflow/repository/form-master.repository.js +1 -2
- package/dist/module/workflow/repository/form-master.repository.js.map +1 -1
- package/dist/module/workflow/service/action-category.service.js +4 -5
- package/dist/module/workflow/service/action-category.service.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/module/user/service/user.service.ts +2 -1
- package/src/module/workflow/repository/form-master.repository.ts +2 -2
- package/src/module/workflow/service/action-category.service.ts +6 -6
package/package.json
CHANGED
|
@@ -73,7 +73,8 @@ export class UserService extends EntityServiceImpl {
|
|
|
73
73
|
loggedInUser?.organization_id || 0,
|
|
74
74
|
);
|
|
75
75
|
|
|
76
|
-
userData.name =
|
|
76
|
+
userData.name =
|
|
77
|
+
(userData.first_name || '') + ' ' + (userData.last_name || '');
|
|
77
78
|
userData.password = EncryptUtilService.encryptGCM(
|
|
78
79
|
userData.password || 'Admin@123',
|
|
79
80
|
this.masterKey,
|
|
@@ -21,8 +21,8 @@ export class FormMasterRepository {
|
|
|
21
21
|
.createQueryBuilder()
|
|
22
22
|
.select(['fm.id', 'fm.form_name'])
|
|
23
23
|
.from('cr_form_master', 'fm')
|
|
24
|
-
.where('fm.organization_id = :orgId', { orgId: organization_id })
|
|
25
|
-
.
|
|
24
|
+
// .where('fm.organization_id = :orgId', { orgId: organization_id })
|
|
25
|
+
.where('fm.source_entity_type = :sourceEntityType', {
|
|
26
26
|
sourceEntityType: source_entity_type,
|
|
27
27
|
})
|
|
28
28
|
.getRawMany();
|
|
@@ -12,14 +12,14 @@ export class ActionCategoryService extends EntityServiceImpl {
|
|
|
12
12
|
async getActionsCat(loggedInUser: UserData, entity_type: string) {
|
|
13
13
|
const { organization_id } = loggedInUser;
|
|
14
14
|
|
|
15
|
+
console.log(entity_type, 'entity_type in action category service');
|
|
16
|
+
|
|
15
17
|
const result = await this.dataSource.query(
|
|
16
18
|
`
|
|
17
19
|
SELECT id, name
|
|
18
20
|
FROM cr_wf_action_category
|
|
19
|
-
WHERE mapped_entity_type =
|
|
20
|
-
|
|
21
|
-
`,
|
|
22
|
-
[entity_type, organization_id],
|
|
21
|
+
WHERE mapped_entity_type = ?`,
|
|
22
|
+
[entity_type],
|
|
23
23
|
);
|
|
24
24
|
|
|
25
25
|
return result.map((row: any) => ({
|
|
@@ -50,9 +50,9 @@ export class ActionCategoryService extends EntityServiceImpl {
|
|
|
50
50
|
`
|
|
51
51
|
SELECT *
|
|
52
52
|
FROM cr_wf_action_category
|
|
53
|
-
WHERE
|
|
53
|
+
WHERE id = ?
|
|
54
54
|
`,
|
|
55
|
-
[
|
|
55
|
+
[action_cat_id],
|
|
56
56
|
);
|
|
57
57
|
|
|
58
58
|
return result;
|