上一版定的是 active_complex_case_count(计数),多余:
- 闸门只判有无,条数 PAC 不消费,纯属未被消费的精度
- complex_case_info 带 organization_id,跨诊所累加的条数在多品牌 SaaS 里语义含糊;
EXISTS 反而是干净、且宿主易保证正确的口径
改为 has_active_complex_case(接受 1/0 或 true/false,PAC 归一层 coerce 成布尔)。
PAC 侧字段 hostFollowUpActive 不变(本就是布尔)。
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| auth-login.mdx | Loading commit data... | |
| channel-clickhouse.mdx | Loading commit data... | |
| channel-push.mdx | Loading commit data... | |
| channel-rest.mdx | Loading commit data... | |
| data-dictionary.mdx | Loading commit data... | |
| data-request-checklist.mdx | Loading commit data... | |
| execution-callback.mdx | Loading commit data... | |
| friday-push-payload.mdx | Loading commit data... | |
| meta.json | Loading commit data... | |
| overview.mdx | Loading commit data... | |
| postmessage-actions.mdx | Loading commit data... | |
| runbook.mdx | Loading commit data... |