mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-18 00:45:55 +08:00
添加新闻的分类Id查询
This commit is contained in:
@@ -34,6 +34,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="isTop != null "> and is_top = #{isTop}</if>
|
||||
<if test="isBanner != null "> and is_banner = #{isBanner}</if>
|
||||
<if test="categoryName != null and categoryName != ''"> and category_name like concat('%', #{categoryName}, '%')</if>
|
||||
<if test="categoryId != null"> and category_Id = #{categoryId})</if>
|
||||
<if test="status != null "> and status = #{status}</if>
|
||||
</where>
|
||||
order by create_time desc
|
||||
|
||||
Reference in New Issue
Block a user