rez_core 3.1.204 → 3.1.205
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/workflow/controller/action.controller.d.ts +1 -4
- package/dist/module/workflow/entity/action-data.entity.js +1 -1
- package/dist/module/workflow/entity/action-data.entity.js.map +1 -1
- package/dist/module/workflow/repository/action.repository.d.ts +1 -4
- package/dist/module/workflow/repository/action.repository.js +5 -1
- package/dist/module/workflow/repository/action.repository.js.map +1 -1
- package/dist/module/workflow/service/action.service.d.ts +1 -4
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/module/workflow/entity/action-data.entity.ts +1 -1
- package/src/module/workflow/repository/action.repository.ts +7 -1
package/package.json
CHANGED
|
@@ -47,7 +47,7 @@ export class ActionDataEntity extends BaseEntity {
|
|
|
47
47
|
@Column({ nullable: true, default: 0 })
|
|
48
48
|
resubmit_count: number;
|
|
49
49
|
|
|
50
|
-
@Column({
|
|
50
|
+
@Column({ nullable: true })
|
|
51
51
|
dependent_action_id: number;
|
|
52
52
|
|
|
53
53
|
@Column({ type: 'varchar', nullable: true })
|
|
@@ -191,7 +191,13 @@ export class ActionRepository {
|
|
|
191
191
|
? actionIds.filter((id) => id !== action_id)
|
|
192
192
|
: actionIds;
|
|
193
193
|
|
|
194
|
-
|
|
194
|
+
let actionResults;
|
|
195
|
+
|
|
196
|
+
if (filteredActionIds.length === 0) {
|
|
197
|
+
return [];
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
actionResults = await this.dataSource
|
|
195
201
|
.createQueryBuilder()
|
|
196
202
|
.select(['a.id AS action_id', 'a.name AS action_name'])
|
|
197
203
|
.from('cr_wf_action', 'a')
|