打印去重;
This commit is contained in:
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user