Procházet zdrojové kódy

fix:1、vip课加学员,学员列表允许0课程余额学员

Joburgess před 4 roky
rodič
revize
1efb97febe

+ 2 - 0
mec-biz/src/main/resources/config/mybatis/VipGroupMapper.xml

@@ -561,6 +561,7 @@
         LEFT JOIN sys_user su ON suca.user_id_=su.id_
         WHERE
             1=1
+        AND su.user_type_ LIKE '%STUDENT%'
 #         suca.course_balance_ >0
         <if test="search!=null and search!=''">
             AND (su.username_ LIKE CONCAT('%',#{search},'%') OR su.phone_ LIKE CONCAT('%',#{search},'%'))
@@ -576,6 +577,7 @@
         LEFT JOIN sys_user su ON suca.user_id_=su.id_
         WHERE
             1=1
+        AND su.user_type_ LIKE '%STUDENT%'
 #         suca.course_balance_ >0
         <if test="search!=null and search!=''">
             AND (su.username_ LIKE CONCAT('%',#{search},'%') OR su.phone_ LIKE CONCAT('%',#{search},'%'))