Browse Source

sql的ID不明确

helixiao 1 year ago
parent
commit
84dc723965
1 changed files with 1 additions and 1 deletions
  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>