fixbug 预定信息大屏幕
This commit is contained in:
@@ -173,8 +173,8 @@ public class AppVenueLessonController {
|
|||||||
sb.append("【可预定,剩余:"+limitNum + "】");
|
sb.append("【可预定,剩余:"+limitNum + "】");
|
||||||
if (v.getSaleNum() != 0){
|
if (v.getSaleNum() != 0){
|
||||||
sb.append("(" + v.getOrderUsers() + ")");
|
sb.append("(" + v.getOrderUsers() + ")");
|
||||||
sb.append("#2BD5D5'");
|
|
||||||
}
|
}
|
||||||
|
sb.append("#2BD5D5'");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
|
|||||||
@@ -620,8 +620,8 @@
|
|||||||
|
|
||||||
<select id="getLessonTypes" resultType="string">
|
<select id="getLessonTypes" resultType="string">
|
||||||
select DISTINCT start_time from sv_venue_lesson a
|
select DISTINCT start_time from sv_venue_lesson a
|
||||||
where a.date <![CDATA[ >= ]]> DATE_SUB(NOW(),INTERVAL 1 DAY)
|
where DATE(a.date) <![CDATA[ >= ]]> CURRENT_DATE
|
||||||
AND a.date <![CDATA[ <= ]]> DATE_ADD(NOW(),INTERVAL 4 DAY)
|
AND DATE(a.date) <![CDATA[ <= ]]> DATE_ADD(CURRENT_DATE,INTERVAL 4 DAY)
|
||||||
and a.venue_id = #{venueId}
|
and a.venue_id = #{venueId}
|
||||||
ORDER BY a.start_time
|
ORDER BY a.start_time
|
||||||
</select>
|
</select>
|
||||||
@@ -639,8 +639,8 @@
|
|||||||
where b.member_id = d.id
|
where b.member_id = d.id
|
||||||
and b.`status` != '2'
|
and b.`status` != '2'
|
||||||
GROUP BY b.lesson_id) t on a.id = t.lesson_id
|
GROUP BY b.lesson_id) t on a.id = t.lesson_id
|
||||||
where a.date <![CDATA[ >= ]]> DATE_SUB(NOW(),INTERVAL 1 DAY)
|
where DATE(a.date) <![CDATA[ >= ]]> CURRENT_DATE
|
||||||
AND a.date <![CDATA[ <= ]]> DATE_ADD(NOW(),INTERVAL 4 DAY)
|
AND DATE(a.date) <![CDATA[ <= ]]> DATE_ADD(CURRENT_DATE,INTERVAL 4 DAY)
|
||||||
and a.venue_id = #{venueId}
|
and a.venue_id = #{venueId}
|
||||||
ORDER BY a.date,a.start_time
|
ORDER BY a.date,a.start_time
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
Reference in New Issue
Block a user