|
|
@@ -81,7 +81,7 @@ public class BCoursePreServiceImpl extends ServiceImpl<BCoursePreMapper, BCourse
|
|
|
statDto.setStartDate(DateUtil.parse(today, "yyyy-MM-dd"));
|
|
|
statDto.setEndDate(DateUtil.parse(sunday, "yyyy-MM-dd"));
|
|
|
statDto.setType(type);
|
|
|
- statDto.setType(courseId);
|
|
|
+ statDto.setCourseId(courseId);
|
|
|
// 查询各时间段预约数量
|
|
|
List<BUserPreCountVo> bUserPreCountVos = bUserPreMapper.countByDateAndType(statDto);
|
|
|
Map<String,BUserPreCountVo> s = bUserPreCountVos.stream().collect(Collectors.toMap(BUserPreCountVo::getPreId, a->a));
|