rez_core 5.0.21 → 5.0.22
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/package.json
CHANGED
|
@@ -121,7 +121,7 @@ export class StageGroupRepository {
|
|
|
121
121
|
FROM frm_wf_task_data
|
|
122
122
|
WHERE stage_id IN (${stagePlaceholders})
|
|
123
123
|
AND is_system = FALSE
|
|
124
|
-
AND mapped_entity_id = lead_id
|
|
124
|
+
AND mapped_entity_id = ${lead_id}
|
|
125
125
|
GROUP BY stage_id
|
|
126
126
|
`,
|
|
127
127
|
params_task,
|
|
@@ -135,7 +135,7 @@ export class StageGroupRepository {
|
|
|
135
135
|
SELECT stage_id, COUNT(*) AS meeting_count
|
|
136
136
|
FROM crm_lead_meeting
|
|
137
137
|
WHERE stage_id IN (${stagePlaceholders})
|
|
138
|
-
AND mapped_entity_id = lead_id
|
|
138
|
+
AND mapped_entity_id = ${lead_id}
|
|
139
139
|
GROUP BY stage_id
|
|
140
140
|
`,
|
|
141
141
|
params_task,
|
|
@@ -149,7 +149,7 @@ export class StageGroupRepository {
|
|
|
149
149
|
SELECT stage_id, COUNT(*) AS send_comm_count
|
|
150
150
|
FROM crm_lead_communication
|
|
151
151
|
WHERE stage_id IN (${stagePlaceholders})
|
|
152
|
-
AND mapped_entity_id = lead_id
|
|
152
|
+
AND mapped_entity_id = ${lead_id}
|
|
153
153
|
AND type IN ('SEND','LOG')
|
|
154
154
|
GROUP BY stage_id
|
|
155
155
|
`,
|