sql数据流,amdin业务逻辑接入

This commit is contained in:
comlibmb
2026-02-05 10:19:55 +08:00
parent ac670cf5d8
commit 7e62d3f8d9

View File

@@ -22,7 +22,7 @@ CREATE OR REPLACE FUNCTION public.rpc_admin_user_list(
RETURNS TABLE (
total BIGINT,
page INTEGER,
limit INTEGER,
page_limit INTEGER,
has_more BOOLEAN,
items JSONB
)
@@ -149,7 +149,7 @@ BEGIN
SELECT
v_total,
p_page,
p_limit,
p_limit AS page_limit,
(v_offset + p_limit) < v_total as has_more,
COALESCE(v_items, '[]'::jsonb) as items;
END;