From fe031e01cc1737c2f05a133fde7c36c7a2a7b4b4 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期三, 21 一月 2026 17:38:32 +0800
Subject: [PATCH] 2026.1.21 1. 新增完善台账复制逻辑
---
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