From 196bb14112448857a885e32dc4149e308e00b01a Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期四, 15 八月 2024 11:57:15 +0800
Subject: [PATCH] 2024.8.15 各项修正

---
 src/main/resources/mapper/LedgerRecordMapper.xml |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mapper/LedgerRecordMapper.xml b/src/main/resources/mapper/LedgerRecordMapper.xml
index a63755e..1862b26 100644
--- a/src/main/resources/mapper/LedgerRecordMapper.xml
+++ b/src/main/resources/mapper/LedgerRecordMapper.xml
@@ -80,7 +80,9 @@
     ) as t_ledger
     LEFT JOIN sm_t_userinfo AS b ON t_ledger.LR_SubmitID = b.UI_GUID
     LEFT JOIN ea_t_ledgersubtype AS c ON t_ledger.LS_SubTypeId = c.LS_SubTypeId
-    WHERE b.UI_IsEnable = TRUE AND c.L_Auto_Copy = TRUE) as r
-    WHERE i = 1
+    WHERE b.UI_IsEnable = TRUE AND c.L_Auto_Copy = TRUE
+    and (t_ledger.LR_Extension2 is null or t_ledger.LR_Extension2 != 'notInvolved')
+    ) as r
+    WHERE r.i = 1
   </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3