From 10aaa035f5be0312304d20f022bdb714a8f4900a Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 11 十二月 2024 22:16:23 +0800
Subject: [PATCH] 代码提交

---
 smartor/src/main/resources/mapper/smartor/TemplateDeptMapper.xml |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/TemplateDeptMapper.xml b/smartor/src/main/resources/mapper/smartor/TemplateDeptMapper.xml
index 7658118..41cf715 100644
--- a/smartor/src/main/resources/mapper/smartor/TemplateDeptMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/TemplateDeptMapper.xml
@@ -164,6 +164,14 @@
         where id = #{id}
     </update>
 
+    <update id="deleteTemplateDeptByTemplateId" parameterType="com.smartor.domain.TemplateDept">
+        update template_dept
+        <trim prefix="SET" suffixOverrides=",">
+            del_flag =1
+        </trim>
+        where tempid = #{tempid} and type=#{type}
+    </update>
+
     <update id="deleteTemplateDeptByIds" parameterType="String">
         update template_dept
         <trim prefix="SET" suffixOverrides=",">

--
Gitblit v1.9.3