xiaoyong931011
2022-06-27 a1a8c47ed291ad43fb4b02a6a675c3b8e8841f36
src/main/resources/mapper/ArticleMapper.xml
@@ -15,15 +15,15 @@
                <if test="record.columnId != null">
                    and a.column_id = #{record.columnId}
                </if>
                <if test="record.belongId != null">
                    and a.belong_id = #{record.belongId}
                <if test="record.companyId != null">
                    and a.company_id = #{record.companyId}
                </if>
                <if test="record.title!=null">
                    and a.title like concat ('%',#{record.title},'%')
                </if>
            </if>
        </where>
        order by a.create_time desc
        order by a.is_top desc,a.create_time desc
    </select>
    <select id="selectAdminArticleByid" resultType="com.xcong.farmer.cms.modules.system.vo.AdminSeeArticleInfoVo">