hfxc226 пре 3 година
родитељ
комит
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>