From a61cf0deb3e42fb1fdc249be2f81b26c8662b0db Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期日, 05 二月 2023 17:26:07 +0800
Subject: [PATCH] 1

---
 src/main/resources/mapper/sys/AttachMapper.xml |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/sys/AttachMapper.xml b/src/main/resources/mapper/sys/AttachMapper.xml
index 1dd6348..41a0e3d 100644
--- a/src/main/resources/mapper/sys/AttachMapper.xml
+++ b/src/main/resources/mapper/sys/AttachMapper.xml
@@ -33,6 +33,10 @@
         select * from lf.sys_attach where guid = #{guid} limit 1
     </select>
 
+    <select id="selectByTabAndGuid" resultType="com.lf.server.entity.sys.AttachEntity">
+        select * from lf.sys_attach where tab = #{tab} and tab_guid = #{tabGuid} and guid = #{guid} limit 1
+    </select>
+
     <select id="selectByTab" resultType="com.lf.server.entity.sys.AttachEntity">
         select * from lf.sys_attach where tab = #{tab} and tab_guid = #{guid}
     </select>

--
Gitblit v1.9.3