From 562a960261b75d70abd65aa10528f09aeece94e8 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 24 九月 2024 09:49:23 +0800
Subject: [PATCH] 代码提交
---
smartor/src/main/resources/mapper/smartor/HeLibraryAssortMapper.xml | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/HeLibraryAssortMapper.xml b/smartor/src/main/resources/mapper/smartor/HeLibraryAssortMapper.xml
index 025194f..c74078e 100644
--- a/smartor/src/main/resources/mapper/smartor/HeLibraryAssortMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/HeLibraryAssortMapper.xml
@@ -18,11 +18,13 @@
<result property="pid" column="pid"/>
<result property="guid" column="guid"/>
<result property="seqno" column="seqno"/>
+ <result property="hetype" column="hetype"/>
</resultMap>
<sql id="selectHeLibraryAssortVo">
select id,
assortname,
+ hetype,
orgid,
del_flag,
update_by,
@@ -49,6 +51,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>
+ <if test="hetype != null ">and hetype = #{hetype}</if>
</where>
order by seqno asc
@@ -81,6 +84,7 @@
<if test="pid != null">pid,</if>
<if test="guid != null">guid,</if>
<if test="seqno != null">seqno,</if>
+ <if test="hetype != null">hetype,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="assortname != null">#{assortname},</if>
@@ -95,6 +99,7 @@
<if test="pid != null">#{pid},</if>
<if test="guid != null">#{guid},</if>
<if test="seqno != null">#{seqno},</if>
+ <if test="hetype != null">#{hetype},</if>
</trim>
</insert>
@@ -112,6 +117,7 @@
<if test="uploadTime != null">upload_time = #{uploadTime},</if>
<if test="pid != null">pid = #{pid},</if>
<if test="guid != null">guid = #{guid},</if>
+ <if test="hetype != null">hetype = #{hetype},</if>
</trim>
where id = #{id}
</update>
@@ -119,7 +125,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>
@@ -130,4 +136,4 @@
#{id}
</foreach>
</delete>
-</mapper>
\ No newline at end of file
+</mapper>
--
Gitblit v1.9.3