tangzy
2021-08-27 733edfcd6ad1c38dcf4aa761a417f4e4bfd754b2
src/main/java/org/springblade/modules/resource/mapper/AttachMapper.xml
@@ -24,7 +24,10 @@
    <select id="selectAttachPage" resultMap="attachResultMap">
        select * from blade_attach where is_deleted = 0
        select * from blade_attach where is_deleted = 0 and cardid=#{cardid} and type=#{type}
        <if test="attach.originalName!='' and attach.originalName!=null">
             and  original_name like concat('%', #{attach.originalName},'%')
        </if>
    </select>
</mapper>