|
|
@@ -120,10 +120,11 @@ public class HouseOrderServiceImpl extends ServiceImpl<HouseOrderMapper, HouseOr
|
|
|
List<HousePrice> housePrices1 = housePriceService.getDatePrice(localDate1, houseId);
|
|
|
|
|
|
if ("4".equals(department)) {
|
|
|
- LocalDateTime endS = dateTime1.plusDays(i + 1);
|
|
|
+ LocalDateTime startS = dateTime1.withHour(0).withMinute(0).withSecond(0);
|
|
|
+ LocalDateTime endS = dateTime1.withHour(23).withMinute(59).withSecond(59);
|
|
|
LambdaQueryWrapper<ClassSchedule> wrapperCS = new LambdaQueryWrapper<>();
|
|
|
wrapperCS.eq(ClassSchedule::getJsgh, users.getCardNumber())
|
|
|
- .between(ClassSchedule::getDateTime, dateTime1, endS);
|
|
|
+ .between(ClassSchedule::getDateTime, startS, endS);
|
|
|
List<ClassSchedule> scheduleList = classScheduleService.list(wrapperCS);
|
|
|
|
|
|
if (ObjectUtils.isEmpty(scheduleList)) {
|