src/main/resources/mapper/ArticleMapper.xml
@@ -15,6 +15,9 @@ <if test="record.columnId != null"> and a.column_id = #{record.columnId} </if> <if test="record.belongId != null"> and a.belong_id = #{record.belongId} </if> <if test="record.title!=null"> and a.title like concat ('%',#{record.title},'%') </if>