|
@@ -1358,6 +1358,7 @@ public class WelcomeStudentController implements WelcomeStudentControllerAPI {
|
|
|
// 寝室总数
|
|
// 寝室总数
|
|
|
int dormitoryTotal = welcomeDormitoryService.count(new QueryWrapper<>());
|
|
int dormitoryTotal = welcomeDormitoryService.count(new QueryWrapper<>());
|
|
|
|
|
|
|
|
|
|
+ int payCount=welcomeStudentService.payCount();
|
|
|
// 已入住寝室数
|
|
// 已入住寝室数
|
|
|
LambdaQueryWrapper<WelcomeDormitory> wrapper=new LambdaQueryWrapper<>();
|
|
LambdaQueryWrapper<WelcomeDormitory> wrapper=new LambdaQueryWrapper<>();
|
|
|
wrapper.ne(WelcomeDormitory::getStatus,2);
|
|
wrapper.ne(WelcomeDormitory::getStatus,2);
|
|
@@ -1367,12 +1368,16 @@ public class WelcomeStudentController implements WelcomeStudentControllerAPI {
|
|
|
LocalDateTime end = start.plusDays(1);
|
|
LocalDateTime end = start.plusDays(1);
|
|
|
DateTimeFormatter dateTimeFormatter1 = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
|
|
DateTimeFormatter dateTimeFormatter1 = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
|
|
|
Integer visitorTotal=welcomeVisitorService.countTotal(start,end);
|
|
Integer visitorTotal=welcomeVisitorService.countTotal(start,end);
|
|
|
|
|
+ Integer carTotal = welcomeVisitorService.carTotal();
|
|
|
|
|
|
|
|
StudentOverviewVo vo = new StudentOverviewVo();
|
|
StudentOverviewVo vo = new StudentOverviewVo();
|
|
|
|
|
+ vo.setEnrollmentTotal(6532);
|
|
|
vo.setStudentTotal(studentTotal);
|
|
vo.setStudentTotal(studentTotal);
|
|
|
|
|
+ vo.setPayCount(payCount);
|
|
|
vo.setDormitoryTotal(dormitoryTotal);
|
|
vo.setDormitoryTotal(dormitoryTotal);
|
|
|
vo.setCheckInTotal(count);
|
|
vo.setCheckInTotal(count);
|
|
|
vo.setVisitorTotal(visitorTotal);
|
|
vo.setVisitorTotal(visitorTotal);
|
|
|
|
|
+ vo.setCarTotal(carTotal);
|
|
|
|
|
|
|
|
return CommonResult.ok(vo);
|
|
return CommonResult.ok(vo);
|
|
|
}
|
|
}
|