hfxc226 3 лет назад
Родитель
Сommit
060d25745b
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>