diff --git a/mhd_finance/src/main/resources/mapper/businessDocument/BusinessDocumentMapper.xml b/mhd_finance/src/main/resources/mapper/businessDocument/BusinessDocumentMapper.xml index 1d107e58d..8ee167bb1 100644 --- a/mhd_finance/src/main/resources/mapper/businessDocument/BusinessDocumentMapper.xml +++ b/mhd_finance/src/main/resources/mapper/businessDocument/BusinessDocumentMapper.xml @@ -136,8 +136,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" SUBJECT_NAME,max(AMOUNT) as AMOUNT FROM 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 - tms.ID = #{invoiceId} group by SUBJECT_NAME + WHERE AMOUNT > 0 and tms.ID = #{invoiceId} group by SUBJECT_NAME