Browse Source

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

Joburgess 4 years ago
parent
commit
1efb97febe
1 changed files with 2 additions and 0 deletions
  1. 2 0
      mec-biz/src/main/resources/config/mybatis/VipGroupMapper.xml

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