xiaoyong931011
2022-06-13 36a143b19cc919c9a814d065029b2340ef7330d7
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>