| | |
| | | ${item} |
| | | </foreach> |
| | | </if> |
| | | <if test="record.isTop != null and record.isTop != ''"> |
| | | and a.is_top=#{record.isTop} |
| | | </if> |
| | | </where> |
| | | order by release_time desc |
| | | </select> |
| | |
| | | <select id="selectWebArticleInPage" resultType="com.xcong.farmer.cms.modules.system.vo.WebArticleVo"> |
| | | SELECT |
| | | a.*, |
| | | b.column_name columnName |
| | | b.column_name columnName, |
| | | c.web_address baseUrl, |
| | | b.path path |
| | | FROM |
| | | t_article a |
| | | left join t_column b on a.column_id = b.id |
| | | inner join t_company c on a.company_id=c.id |
| | | <where> |
| | | and a.del_status = 1 |
| | | and a.release_status = 1 |