fixbug 预定信息大屏幕

This commit is contained in:
limqhz
2021-05-27 23:20:18 +08:00
parent 3298e89902
commit 0876337a66
2 changed files with 5 additions and 5 deletions

View File

@@ -173,8 +173,8 @@ public class AppVenueLessonController {
sb.append("【可预定,剩余:"+limitNum + "");
if (v.getSaleNum() != 0){
sb.append("(" + v.getOrderUsers() + ")");
sb.append("#2BD5D5'");
}
sb.append("#2BD5D5'");
}
}
return sb.toString();

View File

@@ -620,8 +620,8 @@
<select id="getLessonTypes" resultType="string">
select DISTINCT start_time from sv_venue_lesson a
where a.date <![CDATA[ >= ]]> DATE_SUB(NOW(),INTERVAL 1 DAY)
AND a.date <![CDATA[ <= ]]> DATE_ADD(NOW(),INTERVAL 4 DAY)
where DATE(a.date) <![CDATA[ >= ]]> CURRENT_DATE
AND DATE(a.date) <![CDATA[ <= ]]> DATE_ADD(CURRENT_DATE,INTERVAL 4 DAY)
and a.venue_id = #{venueId}
ORDER BY a.start_time
</select>
@@ -639,8 +639,8 @@
where b.member_id = d.id
and b.`status` != '2'
GROUP BY b.lesson_id) t on a.id = t.lesson_id
where a.date <![CDATA[ >= ]]> DATE_SUB(NOW(),INTERVAL 1 DAY)
AND a.date <![CDATA[ <= ]]> DATE_ADD(NOW(),INTERVAL 4 DAY)
where DATE(a.date) <![CDATA[ >= ]]> CURRENT_DATE
AND DATE(a.date) <![CDATA[ <= ]]> DATE_ADD(CURRENT_DATE,INTERVAL 4 DAY)
and a.venue_id = #{venueId}
ORDER BY a.date,a.start_time
</select>