From 144e2cf02a6ecc5f417a91b52a9f1fc81a365621 Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: 星期五, 14 十一月 2025 15:55:56 +0800
Subject: [PATCH] 功能修改

---
 multi-system/src/main/resources/mapper/system/MemoMapper.xml |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/multi-system/src/main/resources/mapper/system/MemoMapper.xml b/multi-system/src/main/resources/mapper/system/MemoMapper.xml
index 377ccd2..dee652b 100644
--- a/multi-system/src/main/resources/mapper/system/MemoMapper.xml
+++ b/multi-system/src/main/resources/mapper/system/MemoMapper.xml
@@ -53,7 +53,15 @@
         a.id AS dataId
         FROM use_seal_apply a
         WHERE a.del_flag = 0
-        AND (a.apply_user_id = #{userId} or a.next_check = #{userId} )
+        AND (a.apply_user_id = #{userId} )
+        AND a.`status` = 1 and a.company_id = #{companyId}
+        UNION ALL
+        SELECT a.use_seal_cause AS title,
+        '6' AS type,
+        a.id AS dataId
+        FROM use_seal_apply a
+        WHERE a.del_flag = 0
+        AND (a.next_check = #{userId} )
         AND a.`status` = 1 and a.company_id = #{companyId}
     </select>
 </mapper>

--
Gitblit v1.9.2