mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-09 16:30:29 +08:00
feat: add policy tracing logs across organization component and elevator
TenantVisitorFloorPolicyService: - [POLICY-HIT] log when policy matched with orgId, policyId, allowZones - [POLICY-MISS] debug log when no policy found for orgId - [POLICY-EMPTY] warn when allow_zone_ids parsed empty - [POLICY-FALLBACK] warn on query failure with orgId context - [POLICY-RESULT] info on matched orgId and zones in batch check ImgPersonServiceImpl.detail(): - [DETAIL] log raw floorList from listByImageId - [DETAIL-POLICY] log floorList REPLACED: before→after with orgIds - [DETAIL] warn when listByImageId fails ImgPersonServiceImpl.listByPage(): - [LIST-PAGE-POLICY] log policy hit with zone count and default - [LIST-PAGE-XHW] debug log for 40F/6F hardcoded branch - [LIST-PAGE-FILTER] debug log when visitor label filtered PersonRuleServiceImpl.addVisitor(): - [ADDV-DETAIL] log detail floorList and orgIds
This commit is contained in:
+2
@@ -183,6 +183,8 @@ public class PersonRuleServiceImpl extends AbstractAcsPassService implements Per
|
||||
this.logger.warn("被访人信息为空 personId={}", param.getPersonId());
|
||||
return CloudwalkResult.fail("76260531", getMessage("76260531"));
|
||||
}
|
||||
this.logger.info("[ADDV-DETAIL] personId={} floorList={} orgIds={}",
|
||||
param.getPersonId(), personResult.getFloorList(), personResult.getOrganizationIds());
|
||||
|
||||
// === 阶段2:确定生效楼层(规范:租户策略仅在组织 detail 以 allow_zone_ids「替代」写入 floorList;此处不做 ∩)===
|
||||
List<String> effective;
|
||||
|
||||
Reference in New Issue
Block a user