浏览代码

会员试用

zouxuan 3 年之前
父节点
当前提交
8ae2d53a88
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/StudentRegistrationMapper.xml

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/StudentRegistrationMapper.xml

@@ -1582,7 +1582,7 @@
             AND cto.id_ IS NULL AND DATEDIFF(sr.membership_end_time_,NOW()) <= #{memberEndAutoQuitMusic} AND sr.membership_end_time_ > NOW()
         </if>
         <if test="memberEndAutoQuitMusic == null">
-            AND cto.id_ IS NULL AND sr.membership_end_time_ &lt; NOW()
+            AND cto.id_ IS NULL AND (sr.membership_end_time_ IS NULL OR sr.membership_end_time_ &lt; NOW())
         </if>
         GROUP BY sr.user_id_
     </select>