Commit Graph

12 Commits

Author SHA1 Message Date
反编译工作区 d52babe2c9 fix: policy replaces floors (not intersection)
When tenant policy exists and enabled, allow_zone_ids REPLACES
the candidate floor list entirely. Phase 3 simplified.
Bump v2.0.20
2026-05-05 19:49:31 +08:00
反编译工作区 f7da04caea fix: policy always checked regardless of caller-provided floors
Redesign addVisitor four-phase flow:
- Phase1: ALWAYS query person detail (orgIds for policy lookup)
- Phase2: candidate = caller floors or org floorList
- Phase3: ALWAYS check policy; intersect candidate with allow
- Phase4: empty set validation
Fixes UC-02 bypass: policy was entirely skipped when caller
provided floorIds. Now policy always constrains.
Bump v2.0.19
2026-05-05 19:47:01 +08:00
反编译工作区 1c5e60f690 fix: remove ZK discovery dep, bootstrap identical to V1
- Remove spring-cloud-starter-zookeeper-discovery from POM
  (V1 doesn't have it, causes zookeeperRibbonClientConfiguration error)
- Remove ZK exclusions from AppApplication.java (no longer needed)
- bootstrap.properties now 100% identical to V1 production
- PersonFeignClient restored to placeholder-based name (no hardcoded URL)
- Remove NIWSServerListClassName/listOfServers (ConfigurationBasedServerList)
Bump version to 2.0.17
2026-05-05 18:53:32 +08:00
反编译工作区 d838dd0897 fix: align bootstrap with production config, disable ZK ribbon
- Restore bootstrap to match production (discovery.enabled=false,
  consul.host=371bfca4972c43d2aefcf302d0a4a277)
- Add spring.cloud.zookeeper.enabled=false to prevent
  zookeeperRibbonClientConfiguration runtime error (child context)
- Remove ConfigurationBasedServerList overrides from app properties
  (no longer needed with proper config alignment)
- Revert PersonFeignClient url hardcode back to placeholder name
Bump version to 2.0.16
2026-05-05 18:39:49 +08:00
反编译工作区 7d52fd5d0b release: v2.0.14 with fixed JAR name matching V1
- JAR name fixed to cw-elevator-application-V1.0.0.20211103.jar
  matching V1 production naming convention exactly
- Release bundle directory uses version+date for identification
- Update release script and POM finalName accordingly
2026-05-05 18:23:08 +08:00
反编译工作区 6f1cd21a5b refactor: rename main class to AppApplication to match V1 naming
- V1 main class: cn.cloudwalk.elevator.AppApplication
- V2 was ElevatorApplication, now aligned to AppApplication
- Also update reference in test script
2026-05-05 18:17:38 +08:00
反编译工作区 6dd03b573b fix: exclude ZK auto-registration, rebuild v2.0.12
- ElevatorApplication startup failed: Registration bean conflict between
  ZookeeperAutoServiceRegistration and ConsulAutoServiceRegistration
- Exclude ZookeeperAutoServiceRegistrationAutoConfiguration (ZK for
  discovery only, not registration; Consul handles registration)
- Bump version to 2.0.12, rebuild deployment package
2026-05-05 17:54:01 +08:00
反编译工作区 da0a82cd24 fix(elevator): correct guangfa visitor floor policy SQL and DB record
- Add missing org_id column (488b8ad049bb43408a6fbcc50bcb89ac)
- Fix allow_zone_ids to use snowflake zone_id 605560545117995008 (28F)
  instead of orphan UUID that matched no known zone table
- Fix DB record: update zone_id + add org_id, bump policy_version to 2
2026-05-05 16:28:18 +08:00
反编译工作区 a2cdb15fdb feat(elevator): add property mgmt visitor default floor policy (6F)
Insert tenant_visitor_floor_policy for 7 property management orgs:
visitor default floor set to zone 605560541473144832 (6F).
SQL idempotent via ON DUPLICATE KEY UPDATE.
2026-05-05 16:21:36 +08:00
反编译工作区 8b15445328 feat: add service config templates and extraction script
Former-commit-id: 1de24b7eb79676d1aba9d799a58c5a753290cf52
2026-05-01 19:38:01 +08:00
反编译工作区 e8672a3c7b fix: relocate cwos-portal decompiled output to correct path; remove nested directory
Former-commit-id: dc30d42a8c55ed8b2382a41dc2434233fbed9930
2026-04-29 12:09:48 +08:00
反编译工作区 be7a8e9d89 release(cw-elevator): v2.0.0 发布说明、升级文档与发布脚本
- 增加电梯应用 v2.0.0 技术/甲方/升级计划说明
- 增加 release-cw-elevator-application.sh 与 releases 忽略 JAR
- 发布包目录含 ddl 与文档副本(JAR 由本地构建,不提交)

Made-with: Cursor

Former-commit-id: 3939231809c424041419f38be69db99edaef55f4
2026-04-27 14:10:41 +08:00