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