feat: fix 订单pdf费用sql去掉别名alias

This commit is contained in:
hello@lv 2024-03-08 10:33:46 +08:00
parent e14bbac59f
commit d9c8f10688

View File

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