xiaoyong931011
2022-06-13 56eded01813a06ea1048b42919af021900e5f813
src/main/resources/mapper/BelongMapper.xml
@@ -12,6 +12,9 @@
                <if test="record.name!=null">
                    and a.name like concat ('%',#{record.name},'%')
                </if>
                <if test="record.id!=null">
                    and a.id = #{record.id}
                </if>
            </if>
        </where>
    </select>