增加展示选择

This commit is contained in:
2026-06-12 10:16:27 +08:00
parent 389c22c627
commit 81f3e1d3b6
28 changed files with 5983 additions and 131 deletions

View File

@@ -0,0 +1,14 @@
-- 修复 PGRST203rpc_homecare_checkin_precheck 存在 uuid/text 两个重载版本,
-- PostgREST 无法区分导致签到预校验失败。
-- 删除旧的 uuid 版本,保留 text 版本(兼容字符串工单 ID
DROP FUNCTION IF EXISTS public.rpc_homecare_checkin_precheck(
uuid, -- p_work_order_id
uuid, -- p_worker_id
numeric, -- p_latitude
numeric, -- p_longitude
text, -- p_coordinate_type
numeric, -- p_accuracy
timestamptz, -- p_reported_at
text -- p_location_scene
);