xiaoyong931011
2022-07-05 9f3fcff71873d6145f249c4b342cb973de2095f2
src/main/resources/mapper/ArticleMapper.xml
@@ -21,6 +21,9 @@
                <if test="record.title!=null">
                    and a.title like concat ('%',#{record.title},'%')
                </if>
                <if test="record.contentType != null">
                    and a.content_type = #{record.contentType}
                </if>
            </if>
        </where>
        order by a.is_top desc,a.create_time desc