From 62bfe298253c39f225cebda8fda0cc906c61674d Mon Sep 17 00:00:00 2001 From: "hello@lv" <2256334253@qq.com> Date: Wed, 8 May 2024 21:33:44 +0800 Subject: [PATCH] feat_check_fill (#932) Co-authored-by: lyx <2027667395@qq.com> Reviewed-on: https://git.daoyoucloud.com/daoyoucloud/tachybase/pulls/932 Co-authored-by: hello@lv <2256334253@qq.com> Co-committed-by: hello@lv <2256334253@qq.com> --- .../src/server/sqls/view_records_contracts.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/plugins/@hera/plugin-rental/src/server/sqls/view_records_contracts.sql b/packages/plugins/@hera/plugin-rental/src/server/sqls/view_records_contracts.sql index 9e3cd147d..81d130b77 100644 --- a/packages/plugins/@hera/plugin-rental/src/server/sqls/view_records_contracts.sql +++ b/packages/plugins/@hera/plugin-rental/src/server/sqls/view_records_contracts.sql @@ -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, (