Commit 63b3976f authored by guwd's avatar guwd

增加分类名称

parent 7cb3edd7
...@@ -251,7 +251,7 @@ ...@@ -251,7 +251,7 @@
<!-- 查询子栏目数据 --> <!-- 查询子栏目数据 -->
<if test="categoryId &gt; 0"> <if test="categoryId &gt; 0">
and (ct.category_id=#{categoryId} or ct.category_id in and (ct.category_id=#{categoryId} or ct.category_id in
(select id FROM cms_category where find_in_set('${categoryId}',CATEGORY_PARENT_ID))) (select id FROM cms_category where find_in_set('${categoryId}',CATEGORY_PARENT_ID)) <if test="typetitle!=null and typetitle!=''"> and category_title=#{typetitle}</if> )
</if> </if>
<if test="beginTime!=null and beginTime!=''"> <if test="beginTime!=null and beginTime!=''">
and content_datetime &gt;= #{beginTime} and content_datetime &gt;= #{beginTime}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment