helixiao 1 anno fa
parent
commit
84dc723965

+ 1 - 1
src/main/resources/mapper/modules/esm/EsmUserReferrerMapper.xml

@@ -131,7 +131,7 @@
         WHERE
         WHERE
             su.id != 'admin'
             su.id != 'admin'
           AND su.STATUS = 1
           AND su.STATUS = 1
-          AND referrer_id IS NOT NULL
+          AND eur.referrer_id IS NOT NULL
         <if test="dto.userId != null and dto.userId != ''">
         <if test="dto.userId != null and dto.userId != ''">
             AND su.id = #{dto.userId}
             AND su.id = #{dto.userId}
         </if>
         </if>