test #286
@@ -27,12 +27,12 @@ class AdminMemberStatisticsService(private val repository: AdminMemberStatistics
 | 
				
			|||||||
            throw SodaException("잘못된 접근입니다.")
 | 
					            throw SodaException("잘못된 접근입니다.")
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        val startDate = dateRange.startDate
 | 
					        var startDate = LocalDate.parse(startDateStr).atStartOfDay()
 | 
				
			||||||
            .atZone(ZoneId.of("Asia/Seoul"))
 | 
					            .atZone(ZoneId.of("Asia/Seoul"))
 | 
				
			||||||
            .withZoneSameInstant(ZoneId.of("UTC"))
 | 
					            .withZoneSameInstant(ZoneId.of("UTC"))
 | 
				
			||||||
            .toLocalDateTime()
 | 
					            .toLocalDateTime()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        val endDate = dateRange.endDate
 | 
					        var endDate = LocalDate.parse(endDateStr).atTime(LocalTime.MAX)
 | 
				
			||||||
            .atZone(ZoneId.of("Asia/Seoul"))
 | 
					            .atZone(ZoneId.of("Asia/Seoul"))
 | 
				
			||||||
            .withZoneSameInstant(ZoneId.of("UTC"))
 | 
					            .withZoneSameInstant(ZoneId.of("UTC"))
 | 
				
			||||||
            .toLocalDateTime()
 | 
					            .toLocalDateTime()
 | 
				
			||||||
@@ -41,6 +41,16 @@ class AdminMemberStatisticsService(private val repository: AdminMemberStatistics
 | 
				
			|||||||
        val totalSignOutCount = repository.getTotalSignOutCount(startDate = startDate, endDate = endDate)
 | 
					        val totalSignOutCount = repository.getTotalSignOutCount(startDate = startDate, endDate = endDate)
 | 
				
			||||||
        val totalPaymentMemberCount = repository.getPaymentMemberCount(startDate = startDate, endDate = endDate)
 | 
					        val totalPaymentMemberCount = repository.getPaymentMemberCount(startDate = startDate, endDate = endDate)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        startDate = dateRange.startDate
 | 
				
			||||||
 | 
					            .atZone(ZoneId.of("Asia/Seoul"))
 | 
				
			||||||
 | 
					            .withZoneSameInstant(ZoneId.of("UTC"))
 | 
				
			||||||
 | 
					            .toLocalDateTime()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        endDate = dateRange.endDate
 | 
				
			||||||
 | 
					            .atZone(ZoneId.of("Asia/Seoul"))
 | 
				
			||||||
 | 
					            .withZoneSameInstant(ZoneId.of("UTC"))
 | 
				
			||||||
 | 
					            .toLocalDateTime()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        val signUpCountInRange = repository.getSignUpCountInRange(
 | 
					        val signUpCountInRange = repository.getSignUpCountInRange(
 | 
				
			||||||
            startDate = startDate,
 | 
					            startDate = startDate,
 | 
				
			||||||
            endDate = endDate,
 | 
					            endDate = endDate,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user