xiaoyong931011
2022-06-24 fef03417a1f77e9d34629f579d82a68ca45c7e77
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>