liusheng
2024-03-06 fa8dce53106f77c22d52d2c1da251ea2c41ab9b8
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>