打印去重;

This commit is contained in:
王奎兴
2026-01-15 11:55:21 +08:00
parent 7e50d8d5c6
commit e6d91c8d1d
@@ -136,7 +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 AMOUNT > 0 and tms.ID = #{invoiceId} group by SUBJECT_NAME WHERE AMOUNT != 0 and 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">