|
@@ -681,6 +681,7 @@
|
|
|
WHERE cssp.user_id_=#{studentId}
|
|
|
AND cs.class_date_<#{monday}
|
|
|
AND cs.type_=#{courseType, typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}
|
|
|
+ AND (cs.del_flag_ != 1 OR cs.del_flag_ IS NULL)
|
|
|
ORDER BY CONCAT(cs.class_date_, ' ', cs.start_class_time_) DESC LIMIT 1
|
|
|
</select>
|
|
|
</mapper>
|