From 1ccb709f723a759597dcdc7239d8885cef84d3ce Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期三, 04 十二月 2024 17:56:19 +0800 Subject: [PATCH] 代码提交 --- smartor/src/main/resources/mapper/smartor/TemplateDeptMapper.xml | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/smartor/src/main/resources/mapper/smartor/TemplateDeptMapper.xml b/smartor/src/main/resources/mapper/smartor/TemplateDeptMapper.xml index c9ecc7b..41cf715 100644 --- a/smartor/src/main/resources/mapper/smartor/TemplateDeptMapper.xml +++ b/smartor/src/main/resources/mapper/smartor/TemplateDeptMapper.xml @@ -37,6 +37,7 @@ resultMap="TemplateDeptResult"> <include refid="selectTemplateDeptVo"/> <where> + del_flag=0 <if test="type != null "> and type = #{type} </if> @@ -163,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