mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-09 08:20:31 +08:00
docs: mark elevator-side tenant policy SQL as deprecated, add guangfa visitor floor design
- Deprecate elevator-side tenant_visitor_floor_policy SQL files (V2 queries only component-organization library) - Add guangfa 28F visitor floor design spec (table-driven approach A) - Add complete database ER diagram (14 DBs, 537 tables) - Add implementation plan for guangfa visitor floor policy - Code walkthrough docs for visitor floor policy analysis
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
-- 组织库 component-organization:广发基金 + 物业管理相关组织 — 访客楼层策略种子数据
|
||||
-- 表:tenant_visitor_floor_policy(须已执行 organization_tenant_visitor_floor_policy.sql)
|
||||
-- 语义:组织服务按 org_id 命中;allow_zone_ids 为替代用 zoneId 列表(与电梯库种子同源)。
|
||||
-- 语义:组织服务按 org_id 命中;allow_zone_ids 为替代用 zoneId 列表。
|
||||
-- V2 策略唯一维护点:电梯侧 tenant_visitor_floor_policy 表已废弃 (V2 电梯不查询此表)。
|
||||
--
|
||||
-- 执行示例:
|
||||
-- mysql -h HOST -P PORT -u USER -p < organization_tenant_visitor_floor_policy_init_tenants.sql
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
-- @deprecated 2026-05-09: V2 架构中策略仅在 component-organization 库维护。
|
||||
-- cw-elevator-application 不再查询此表 (PersonRuleServiceImpl.addVisitor()
|
||||
-- 已移除策略代码, V2 使用 detail() 中的 TenantVisitorFloorPolicyService 替代语义)。
|
||||
-- 此文件保留仅供历史参考, 活跃策略种子见:
|
||||
-- docs/sql/organization_tenant_visitor_floor_policy_init_tenants.sql
|
||||
--
|
||||
-- 广发基金租户:访客默认楼层策略初始化(电梯库 cw-elevator-application)
|
||||
-- 组织库 component-organization 同源种子:organization_tenant_visitor_floor_policy_init_tenants.sql
|
||||
--
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
-- @deprecated 2026-05-09: V2 策略仅维护 component-organization 库, 电梯侧已废弃。
|
||||
-- 活跃策略种子见: docs/sql/organization_tenant_visitor_floor_policy_init_tenants.sql
|
||||
--
|
||||
-- 物业公司租户:访客默认楼层策略初始化(电梯库 cw-elevator-application)
|
||||
-- 组织库 component-organization 同源种子:organization_tenant_visitor_floor_policy_init_tenants.sql
|
||||
-- allow_zone_ids:28F + 6F(JSON 顺序先 28 后 6),便于前端展示;语义仍以组织侧替代 floorList 为准。
|
||||
|
||||
Reference in New Issue
Block a user