hfxc226 3 年之前
父節點
當前提交
82077b15f1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      platform-dao/src/main/resources/mapper/operate/ArticleMapper.xml

+ 1 - 1
platform-dao/src/main/resources/mapper/operate/ArticleMapper.xml

@@ -16,7 +16,7 @@
         and A.title like concat('%',#{keyword},'%')
         </if>
         <if test="parentId != null and parentId != ''">
-            and A.parent_id = parentId
+            and A.parent_id = #{parentId}
         </if>
     </select>
 </mapper>