Merge pull request 'feat: fix 订单pdf费用sql去掉别名alias' (#321) from fix_pdf_record_fee_sql_alias into @hera/dev

Reviewed-on: daoyoucloud/tachycode#321
Reviewed-by: sealday <zhanglin@daoyoucloud.com>
This commit is contained in:
sealday 2024-03-08 10:36:00 +08:00
commit 1527b0ab7c

View File

@ -17,7 +17,6 @@ SELECT
cpfi.unit,
cpfi.count_source,
cpfi."comment",
cpfi.alias,
cpfi.id,
STRING_TO_ARRAY(JSONB_AGG(wr)::TEXT, ',') AS weight_rules
FROM
@ -59,7 +58,6 @@ SELECT
cpfi2.unit,
cpfi2.count_source,
cpfi2."comment",
cpfi2.alias,
cpfi2.id,
STRING_TO_ARRAY(wr2::TEXT, ',') AS weight_rules
FROM