feat_check_fill (#932)

Co-authored-by: lyx <2027667395@qq.com>
Reviewed-on: daoyoucloud/tachybase#932
Co-authored-by: hello@lv <2256334253@qq.com>
Co-committed-by: hello@lv <2256334253@qq.com>
This commit is contained in:
hello@lv 2024-05-08 21:33:44 +08:00 committed by sealday
parent 1225588938
commit 62bfe29825

View File

@ -3,8 +3,8 @@ CREATE OR REPLACE VIEW
SELECT
c.id AS contract_id,
r.id AS record_id,
r.createdAt,
r.updatedAt,
r."createdAt",
r."updatedAt",
CAST('c_' || rc.id AS VARCHAR) AS id,
rc.id AS rc_id, -- 页面更新中间表存根联/回根联用
rc.movement,
@ -28,8 +28,8 @@ UNION ALL
SELECT
NULL AS contract_id,
r.id AS record_id,
r.createdAt,
r.updatedAt,
r."createdAt",
r."updatedAt",
CAST('r_' || r.id AS VARCHAR) AS id,
NULL AS rc_id,
(