src/main/resources/mapper/ArticleMapper.xml
@@ -15,12 +15,15 @@ <if test="record.columnId != null"> and a.column_id = #{record.columnId} </if> <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">