| | |
| | | <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"> |