فهرست منبع

sql的ID不明确

helixiao 1 سال پیش
والد
کامیت
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>