feat: add shared child batch creation

This commit is contained in:
inman committed 2026-09-09 17:24:16 +08:00
1 parent 515b545b32
commit 6ac90f838a
32 files changed
+958 -90

No files matched your search

@@ -0,0 +1,54 @@
-- Register the Program-only shared-child batch route without changing any
-- external Agent routing or automatically granting the new capability.
ALTER TABLE business_parser_settings
DROP CONSTRAINT IF EXISTS business_parser_settings_route_check;
ALTER TABLE business_parser_settings
ADD CONSTRAINT business_parser_settings_route_check CHECK (route_id IN (
'team_order_create',
'team_order_batch_create',
'shared_plan_create',
'shared_child_order_create',
'shared_child_order_batch_create',
'passenger_list_import_independent',
'passenger_list_import_shared_child',
'arrangement_guide_create',
'arrangement_vehicle_create',
'arrangement_hotel_create',
'arrangement_transport_create',
'arrangement_other_create',
'order_update_shared_plan',
'order_update_shared_child',
'order_update_independent',
'arrangement_hotel_update',
'order_cancel',
'order_restore',
'confirmation_export'
));
ALTER TABLE user_business_route_authorizations
DROP CONSTRAINT IF EXISTS user_business_route_authorizations_route_check;
ALTER TABLE user_business_route_authorizations
ADD CONSTRAINT user_business_route_authorizations_route_check CHECK (route_id IN (
'team_order_create',
'team_order_batch_create',
'shared_plan_create',
'shared_child_order_create',
'shared_child_order_batch_create',
'passenger_list_import_independent',
'passenger_list_import_shared_child',
'arrangement_guide_create',
'arrangement_vehicle_create',
'arrangement_hotel_create',
'arrangement_transport_create',
'arrangement_other_create',
'order_update_shared_plan',
'order_update_shared_child',
'order_update_independent',
'arrangement_hotel_update',
'order_cancel',
'order_restore',
'confirmation_export'
));