Commit 8eb52235 authored by hezhen's avatar hezhen

123

parent b88b5bcd
...@@ -78,6 +78,7 @@ ...@@ -78,6 +78,7 @@
<foreach collection="cataIds" item="id" open="(" separator="," close=")"> <foreach collection="cataIds" item="id" open="(" separator="," close=")">
#{id} #{id}
</foreach> </foreach>
and c1.state = 0
GROUP BY c.parent_id GROUP BY c.parent_id
ORDER BY c1.id ORDER BY c1.id
</select> </select>
...@@ -124,6 +125,7 @@ ...@@ -124,6 +125,7 @@
) c2 ON c.id=c2.id ) c2 ON c.id=c2.id
</if> </if>
<where> <where>
c.state = 0
<if test="parentId != null "> <if test="parentId != null ">
and c.parent_id=#{parentId} and c.parent_id=#{parentId}
</if> </if>
......
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