fanli/src/main/java/com/yeshi/fanli/mapping/help/HelpClassMapper.xml
@@ -108,7 +108,9 @@ <select id="getClassByState" resultMap="BaseResultMap"> SELECT hc_id,hc_name,hc_picture FROM yeshi_ec_help_class WHERE hc_show_state = #{state} WHERE hc_show_state = #{state} AND IF(hc_start_time IS NULL,TRUE, hc_start_time<![CDATA[<=]]>NOW()) AND IF(hc_end_time IS NULL,TRUE, hc_end_time >=NOW()) ORDER BY hc_sort </select>