liusheng
23 小时以前 f2fae5a8c221528977fe90789f00a895ced212c3
smartor/src/main/resources/mapper/smartor/HeLibraryAssortMapper.xml
@@ -42,19 +42,17 @@
    <select id="selectHeLibraryAssortList" parameterType="com.smartor.domain.HeLibraryAssort"
            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>
            <if test="uploadTime != null ">and upload_time = #{uploadTime}</if>
            <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>
        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>
        <if test="uploadTime != null ">and upload_time = #{uploadTime}</if>
        <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>
        order by seqno asc
        <if test="pageSize != null  and pageNum != null">limit ${pageSize} OFFSET ${pageNum}</if>
    </select>
    <select id="selectSeqMax" resultType="integer">
@@ -125,7 +123,7 @@
    <update id="deleteHeLibraryAssortById" parameterType="Long">
        update he_library_assort
        <trim prefix="SET" suffixOverrides=",">
           del_flag = 1
            del_flag = 1
        </trim>
        where id = #{id}
    </update>