|
@@ -416,13 +416,13 @@
|
|
|
<where>
|
|
|
vgcgm.vip_group_id_=#{vipGroupId}
|
|
|
<if test="startTime!=null and endTime!=null">
|
|
|
- cs.class_date_ BETWEEN #{startTime} AND #{endTime}
|
|
|
+ AND (cs.class_date_ BETWEEN #{startTime} AND #{endTime})
|
|
|
</if>
|
|
|
<if test="teachMode!=null and teachMode!=''">
|
|
|
- cs.teach_mode_=#{teachMode}
|
|
|
+ AND cs.teach_mode_=#{teachMode,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}
|
|
|
</if>
|
|
|
<if test="status!=null and status!=''">
|
|
|
- cs.status_=#{status}
|
|
|
+ AND cs.status_=#{status}
|
|
|
</if>
|
|
|
</where>
|
|
|
</sql>
|