rez_core 2.2.162 → 2.2.163

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rez_core",
3
- "version": "2.2.162",
3
+ "version": "2.2.163",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -110,7 +110,7 @@ export class StageGroupRepository {
110
110
  const meetingCounts = await this.dataSource.query(
111
111
  `
112
112
  SELECT stage_id, COUNT(*) AS meeting_count
113
- FROM cr_lead_meeting
113
+ FROM crm_lead_meeting
114
114
  WHERE stage_id IN (${stageIds.map(() => '?').join(',')}) AND lead_id = ?
115
115
  GROUP BY stage_id
116
116
  `,
@@ -121,7 +121,7 @@ export class StageGroupRepository {
121
121
  const sendCommCounts = await this.dataSource.query(
122
122
  `
123
123
  SELECT stage_id, COUNT(*) AS send_comm_count
124
- FROM cr_lead_communication
124
+ FROM crm_lead_communication
125
125
  WHERE stage_id IN (${stageIds.map(() => '?').join(',')}) AND lead_id = ?
126
126
  AND type IN ('SEND', 'LOG')
127
127
  GROUP BY stage_id
@@ -387,7 +387,7 @@ export class WorkflowMetaService extends EntityServiceImpl {
387
387
  );
388
388
 
389
389
  await this.dataSource.query(
390
- `UPDATE cr_lead_meeting SET user_id=?
390
+ `UPDATE crm_lead_meeting SET user_id=?
391
391
  WHERE stage_id = ?
392
392
  AND lead_id = ?
393
393
  AND (status='scheduled' OR status='rescheduled')