|
|
@@ -43,8 +43,8 @@
|
|
|
<if test="parentId == null or parentId == '' ">
|
|
|
AND parent_id = -1
|
|
|
</if>
|
|
|
- <if test="categoryState != null and categoryState != ''">
|
|
|
- AND category_state = #{categoryState}
|
|
|
+ <if test="categoryState == null or categoryState == ''">
|
|
|
+ AND category_state = 0
|
|
|
</if>
|
|
|
ORDER BY category_sort, created_time
|
|
|
</select>
|