From 38fdd9c332c4157d464d6d8f1a3f1667c57850d3 Mon Sep 17 00:00:00 2001 From: "hello@lv" <2256334253@qq.com> Date: Fri, 29 Mar 2024 11:37:57 +0800 Subject: [PATCH] fix_invoices_view (#533) Reviewed-on: https://git.daoyoucloud.com/daoyoucloud/tachycode/pulls/533 Co-authored-by: hello@lv <2256334253@qq.com> Co-committed-by: hello@lv <2256334253@qq.com> --- .../@hera/plugin-rental/src/server/sqls/view_invoices.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/plugins/@hera/plugin-rental/src/server/sqls/view_invoices.sql b/packages/plugins/@hera/plugin-rental/src/server/sqls/view_invoices.sql index 04ce408b5..19689377c 100644 --- a/packages/plugins/@hera/plugin-rental/src/server/sqls/view_invoices.sql +++ b/packages/plugins/@hera/plugin-rental/src/server/sqls/view_invoices.sql @@ -10,7 +10,7 @@ SELECT purchaser_id, project_id, category, - CAST('进项发票' AS TEXT) AS "type", + "type", "Invoicing_date", "comment", inclusive_amount, @@ -39,7 +39,7 @@ SELECT purchaser_id, project_id, category, - CAST('销项发票' AS TEXT) AS "type", + "type", "Invoicing_date", "comment", inclusive_amount, @@ -68,7 +68,7 @@ SELECT purchaser_id, project_id, category, - CAST('进项发票' AS TEXT) AS "type", + "type", "Invoicing_date", "comment", inclusive_amount,