原注释"MASTERDEPART 列不存在"看错表——该列在 VIEW_SYS_USER 视图(不在 SYS_USER 表)。 按 ACCOUNT 关联子查询取,principal.depart 经 JWT 透传→EngineContextBinder 绑 CURRENTDEPART→引擎 setStandardDefaults 填 DEPARTID。实测 ceshi 添加通知 departid 非空。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>