diff --git a/mhd_finance/src/main/resources/mapper/businessDocument/BusinessDocumentMapper.xml b/mhd_finance/src/main/resources/mapper/businessDocument/BusinessDocumentMapper.xml index e54fdc9ba..550ee87d3 100644 --- a/mhd_finance/src/main/resources/mapper/businessDocument/BusinessDocumentMapper.xml +++ b/mhd_finance/src/main/resources/mapper/businessDocument/BusinessDocumentMapper.xml @@ -135,9 +135,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" SELECT SUBJECT_NAME,AMOUNT,RATE FROM - RECONCILIATION_ACCOUNT + RECONCILIATION r left join RECONCILIATION_ACCOUNT acc on acc.RECONCILIATION_ID = r.RECONCILIATION_ID left join NGWL_TEST_WLHY.TMS_INVOICE_LIST tms on r.APPLY_NUMBER = tms.APPLY_NUMBER WHERE - RECONCILIATION_ID = #{invoiceId} + tms.ID = #{invoiceId}