zjy před 3 měsíci
rodič
revize
a2be9a2e7e

+ 2 - 2
alien-entity/src/main/resources/mapper/second/SecondGoodsCategoryMapper.xml

@@ -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>