From f8bad7813dff478ff81e62440625c51f6a5d2ea8 Mon Sep 17 00:00:00 2001 From: yishiqihuasheng <1191093413@qq.com> Date: Wed, 19 Apr 2023 08:10:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9listOtherInvoice=E7=9A=84?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E5=8A=A8=E6=80=81sql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mapper/ExtInvoicePoolMapper.xml | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/dxhy-extend/src/main/resources/mapper/ExtInvoicePoolMapper.xml b/dxhy-extend/src/main/resources/mapper/ExtInvoicePoolMapper.xml index 0f33964b..c998d329 100644 --- a/dxhy-extend/src/main/resources/mapper/ExtInvoicePoolMapper.xml +++ b/dxhy-extend/src/main/resources/mapper/ExtInvoicePoolMapper.xml @@ -337,17 +337,29 @@ AND qs_type = #{qsfs} + + + - and t.sn_voucher_number = #{snVoucherNumber} + and sn_voucher_number = #{snVoucherNumber} + + + - and t.posting_time = #{postingTime} + and posting_time = #{postingTime} + + + - and t.image_id = #{imageId} + and image_id = #{imageId} + + + - and t.account_period = #{accountPeriod} + and account_period = #{accountPeriod} GROUP BY uuid having min(create_date) ORDER BY create_date DESC