Commit Graph

2 Commits

Author SHA1 Message Date
hpd840321 d8bcc14563 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
2026-05-10 09:37:51 +08:00
hpd840321 7b2bd307f1 Initial commit: reorganized source tree
- backend/: 13 Maven modules (cw-elevator-application, cloudwalk-cloud, intelligent-cwoscomponent, ninca-crk, etc.)
- frontend/: 4 Vue projects (elevator-front, cwos-portal, alarm-front, front_acs) + decompiled + scripts
- scripts/: build, test-env, tools (Docker Compose, service templates, API parity)
- docs/: AGENTS.md, superpowers specs, architecture docs
- .gitignore: standard Java/Maven exclusions

Moved from legacy maven-*/ root layout to backend/ organized structure.
2026-05-09 09:56:45 +08:00