rez_core 5.0.112 → 5.0.113
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/repository/stage-movement.repository.js +1 -3
- package/dist/module/workflow/repository/stage-movement.repository.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/module/filter/service/filter.service.ts +2 -2
- package/src/module/workflow/repository/stage-movement.repository.ts +1 -7
package/package.json
CHANGED
|
@@ -987,11 +987,11 @@ export class FilterService {
|
|
|
987
987
|
const dayBefore = (() => {
|
|
988
988
|
const d = new Date();
|
|
989
989
|
d.setDate(d.getDate() - (numVal));
|
|
990
|
-
|
|
990
|
+
|
|
991
991
|
// Format as YYYY-MM-DD in IST
|
|
992
992
|
return d.toLocaleDateString('en-CA', { timeZone: 'Asia/Kolkata' });
|
|
993
993
|
})();
|
|
994
|
-
|
|
994
|
+
|
|
995
995
|
|
|
996
996
|
return {
|
|
997
997
|
query: `${dateColumn} <= :${key}`,
|
|
@@ -199,18 +199,12 @@ export class StageMovementRepository {
|
|
|
199
199
|
'ac',
|
|
200
200
|
'a.action_category::bigint = ac.id',
|
|
201
201
|
)
|
|
202
|
-
.leftJoin(
|
|
203
|
-
'frm_wf_action_resources_mapping',
|
|
204
|
-
'arm',
|
|
205
|
-
'm.id = arm.stg_act_mapping_id::bigint',
|
|
206
|
-
)
|
|
207
202
|
.where('m.stage_id::bigint = :stageId', { stageId: Number(stageId) })
|
|
208
203
|
.select([
|
|
209
204
|
'a.*',
|
|
210
205
|
'm.id AS mapping_id',
|
|
211
206
|
'm.stage_id AS stage_id',
|
|
212
|
-
'ac.code AS action_category_code'
|
|
213
|
-
'arm.form_id AS form_id',
|
|
207
|
+
'ac.code AS action_category_code'
|
|
214
208
|
])
|
|
215
209
|
.orderBy('a.sequence', 'ASC')
|
|
216
210
|
.getRawMany();
|