From fdf1b9c1e4489a0c2615fa596268b2f71fad7b4c Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期一, 15 四月 2024 09:08:10 +0800
Subject: [PATCH] 代码提交
---
smartor/src/main/resources/mapper/smartor/HeLibraryAssortMapper.xml | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/HeLibraryAssortMapper.xml b/smartor/src/main/resources/mapper/smartor/HeLibraryAssortMapper.xml
index 06297d0..4770062 100644
--- a/smartor/src/main/resources/mapper/smartor/HeLibraryAssortMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/HeLibraryAssortMapper.xml
@@ -41,6 +41,7 @@
resultMap="HeLibraryAssortResult">
<include refid="selectHeLibraryAssortVo"/>
<where>
+ del_flag != 1
<if test="assortname != null and assortname != ''">and assortname like concat('%', #{assortname}, '%')</if>
<if test="orgid != null and orgid != ''">and orgid = #{orgid}</if>
<if test="isupload != null ">and isupload = #{isupload}</if>
@@ -48,7 +49,7 @@
<if test="pid != null ">and pid = #{pid}</if>
<if test="guid != null and guid != ''">and guid = #{guid}</if>
<if test="seqno != null ">and seqno = #{seqno}</if>
- and del_flag != 1
+
</where>
order by seqno asc
</select>
@@ -118,7 +119,7 @@
<update id="deleteHeLibraryAssortById" parameterType="Long">
update he_library_assort
<trim prefix="SET" suffixOverrides=",">
- <if test="delFlag != null and delFlag != ''">del_flag = 1,</if>
+ del_flag = 1
</trim>
where id = #{id}
</update>
--
Gitblit v1.9.3