| | |
| | | <select id="selectHeLibraryAssortList" parameterType="com.smartor.domain.HeLibraryAssort" |
| | | resultMap="HeLibraryAssortResult"> |
| | | <include refid="selectHeLibraryAssortVo"/> |
| | | where 1=1 |
| | | and del_flag != 1 |
| | | 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="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"> |