From d2f3e3d5e91efa7d7c20bb97aac30315cae5c723 Mon Sep 17 00:00:00 2001 From: jishenghua <752718920@qq.com> Date: Thu, 6 Jun 2024 00:18:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E8=B4=A6=E6=88=B7=E6=B5=81?= =?UTF-8?q?=E6=B0=B4=E9=87=8C=E9=9D=A2=E6=B6=89=E5=8F=8A=E8=BD=AC=E8=B4=A6?= =?UTF-8?q?=E7=9A=84=E6=97=B6=E5=80=99=E6=9C=AA=E5=8E=BB=E9=87=8D=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jshERP-boot/src/main/resources/mapper_xml/AccountMapperEx.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jshERP-boot/src/main/resources/mapper_xml/AccountMapperEx.xml b/jshERP-boot/src/main/resources/mapper_xml/AccountMapperEx.xml index 84b308b1..613eaac8 100644 --- a/jshERP-boot/src/main/resources/mapper_xml/AccountMapperEx.xml +++ b/jshERP-boot/src/main/resources/mapper_xml/AccountMapperEx.xml @@ -286,7 +286,7 @@ UNION ALL select ah.bill_no,ah.type as newType, 'financial' as fromType, '' as sName,ah.change_amount,date_format(ah.bill_time,'%Y-%m-%d %H:%i:%S') as oTime,'' as AList,'' as AMList - from jsh_account_head ah left join jsh_account_item ai on ai.header_id=ah.id and ifnull(ai.delete_flag,'0') !='1' + from jsh_account_head ah where ah.type='转账' and ah.account_id=#{accountId} @@ -417,7 +417,7 @@ UNION ALL select count(1) a - from jsh_account_head ah left join jsh_account_item ai on ai.header_id=ah.id and ifnull(ai.delete_flag,'0') !='1' + from jsh_account_head ah where ah.type='转账' and ah.account_id=#{accountId}