瀏覽代碼

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

Joburgess 4 年之前
父節點
當前提交
1efb97febe
共有 1 個文件被更改,包括 2 次插入0 次删除
  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_
         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},'%'))