From f455524346fe74e3d626e5b70bd401c88e066601 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期二, 25 六月 2024 09:42:54 +0800 Subject: [PATCH] 代码提交 --- smartor/src/main/resources/mapper/smartor/SvyLibTemplateTargetoptionMapper.xml | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/smartor/src/main/resources/mapper/smartor/SvyLibTemplateTargetoptionMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyLibTemplateTargetoptionMapper.xml index 138bfe8..717664c 100644 --- a/smartor/src/main/resources/mapper/smartor/SvyLibTemplateTargetoptionMapper.xml +++ b/smartor/src/main/resources/mapper/smartor/SvyLibTemplateTargetoptionMapper.xml @@ -64,6 +64,7 @@ resultMap="SvyLibTemplateTargetoptionResult"> <include refid="selectSvyLibTemplateTargetoptionVo"/> <where> + del_flag=0 <if test="groupid != null and groupid != ''">and groupid = #{groupid}</if> <if test="categoryName != null and categoryName != ''">and categoryName like concat('%', #{categoryName}, '%') @@ -208,8 +209,8 @@ </update> <delete id="deleteSvyLibTemplateTargetoptionById" parameterType="Long"> - delete - from svy_lib_template_targetoption + update svy_lib_template_targetoption + set del_flag=1 where id = #{id} </delete> -- Gitblit v1.9.3