xiaoyong931011
2022-06-24 8ef3693f9a10ebdb2f54a61bd81a2c600c3d8813
src/main/resources/mapper/UserMapper.xml
@@ -17,8 +17,8 @@
                <if test="record.username!=null">
                    and a.username like concat ('%',#{record.username},'%')
                </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>
        </where>