rez_core 2.2.164 → 2.2.166
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-service-impl.service.js +1 -0
- package/dist/module/meta/service/entity-service-impl.service.js.map +1 -1
- package/dist/module/workflow/service/workflow-meta.service.js +10 -8
- package/dist/module/workflow/service/workflow-meta.service.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/module/meta/service/entity-service-impl.service.ts +1 -0
- package/src/module/workflow/service/workflow-meta.service.ts +13 -11
package/package.json
CHANGED
|
@@ -318,6 +318,7 @@ export class EntityServiceImpl implements EntityService<BaseEntity> {
|
|
|
318
318
|
if (!entityData.enterprise_id)
|
|
319
319
|
entityData.enterprise_id = loggedInUser.enterprise_id;
|
|
320
320
|
}
|
|
321
|
+
console.log(entityData, 'WWWWWWWWW');
|
|
321
322
|
await repoService.update(entityData.id, entityData);
|
|
322
323
|
return await repoService.findOne({ where: { id: entityData.id } });
|
|
323
324
|
}
|
|
@@ -124,17 +124,19 @@ export class WorkflowMetaService extends EntityServiceImpl {
|
|
|
124
124
|
loggedInUser,
|
|
125
125
|
);
|
|
126
126
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
127
|
+
if (currentStage) {
|
|
128
|
+
await this.taskService.createSystemNote(
|
|
129
|
+
{
|
|
130
|
+
reason_code: reason_code || '',
|
|
131
|
+
remark: remark || '',
|
|
132
|
+
mapped_entity_id,
|
|
133
|
+
stage_id: currentStage.stage_id,
|
|
134
|
+
action_id: currentStage.action_id,
|
|
135
|
+
stage_group_id: currentStage.stage_group_id,
|
|
136
|
+
},
|
|
137
|
+
loggedInUser,
|
|
138
|
+
);
|
|
139
|
+
}
|
|
138
140
|
|
|
139
141
|
// Case 1: First stage – initialize
|
|
140
142
|
if (!currentStage) {
|