From 9558ad87cc950bd67306aa31e5f3b7de367258ae Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期二, 20 一月 2026 17:29:23 +0800
Subject: [PATCH] 2026.1.20 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