helixiao 1 год назад
Родитель
Сommit
84dc723965
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/resources/mapper/modules/esm/EsmUserReferrerMapper.xml

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

@@ -131,7 +131,7 @@
         WHERE
             su.id != 'admin'
           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 != ''">
             AND su.id = #{dto.userId}
         </if>