|
@@ -1547,7 +1547,7 @@
|
|
|
</if>
|
|
|
GROUP BY cto.student_id_ HAVING MIN(cto.status_) != 1
|
|
|
<if test="memberEndAutoQuitMusic != null">
|
|
|
- AND DATEDIFF(MAX(cto.end_time_),NOW()) <= #{memberEndAutoQuitMusic} AND DATEDIFF(NOW(),MAX(cto.end_time_)) >= 0
|
|
|
+ AND DATEDIFF(MAX(cto.end_time_),NOW()) <= #{memberEndAutoQuitMusic} AND DATEDIFF(MAX(cto.end_time_),NOW()) >= 0
|
|
|
</if>
|
|
|
<if test="memberEndAutoQuitMusic == null">
|
|
|
AND DATEDIFF(MAX(cto.end_time_),NOW()) < 0
|