src/main/resources/mapper/modules/AiProductCategoryMapper.xml
@@ -11,6 +11,9 @@ from ai_product_category a where a.state = 1 <if test="record.parentId != null and record.parentId != ''"> and a.parent_id = #{record.parentId} </if> order by a.sort asc </select> </mapper>