打印去重;

This commit is contained in:
王奎兴
2026-01-15 11:52:58 +08:00
parent ea771777bb
commit 7e50d8d5c6
@@ -136,8 +136,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
SUBJECT_NAME,max(AMOUNT) as AMOUNT SUBJECT_NAME,max(AMOUNT) as AMOUNT
FROM 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 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 WHERE AMOUNT > 0 and tms.ID = #{invoiceId} group by SUBJECT_NAME
tms.ID = #{invoiceId} group by SUBJECT_NAME
</select> </select>
<select id="queryInvoiceList" resultType="com.linke.finance.domain.businessDocument.repository.po.BusinessDocumentPO" parameterType="com.linke.finance.domain.businessDocument.repository.todo.BusinessDocumentDO"> <select id="queryInvoiceList" resultType="com.linke.finance.domain.businessDocument.repository.po.BusinessDocumentPO" parameterType="com.linke.finance.domain.businessDocument.repository.todo.BusinessDocumentDO">