fix: type CMPP inbox JSON parameters

This commit is contained in:
hectorzhao
2026-08-20 19:04:12 +08:00
parent 99fb346566
commit f4560479d3
3 changed files with 7 additions and 2 deletions
@@ -2158,6 +2158,10 @@ describe('SendChainService', () => {
expect(sql).toContain('INSERT INTO "CmppInboundSubmissionInbox"');
expect(sql).toContain('JOIN "Tenant"');
expect(sql).toContain('ON CONFLICT ("requestKey") DO NOTHING');
expect(sql).toContain("'messageId', ");
expect(sql).toContain('::text');
expect(sql).toContain("'phoneCount', ");
expect(sql).toContain('::integer');
expect(prisma.smsBatchTask.create).not.toHaveBeenCalled();
expect(prisma.smsMessageRecord.create).not.toHaveBeenCalled();
expect(riskReview.evaluateTask).not.toHaveBeenCalled();