[BO] 엑셀다운로드 : 일계부 등록 데이터 - 유형컬럼 수입, 지출이 아닌 수입=1, 지출=2 로 노출되도록 수정

This commit is contained in:
kangsunlee
2025-07-18 15:48:34 +09:00
parent 5daeb7081d
commit 746803b0f0

View File

@@ -205,7 +205,7 @@
SELECT
h.household_num,
h.owner_name,
transfer_type.code_text as transfer_type_name,
case when transfer_type.id = 'code.bank.input' then '1' else '2' end as transfer_type,
bat.income_code,
bat.expense_code,
split_part( bat.crop_code,'code.record.crop.',2 ) as crop_code,