시간 설정 변경.

master
강석 최 2022-02-28 09:09:19 +09:00
parent 142b3bf5dc
commit 44e7aaee73
3 changed files with 2 additions and 5 deletions

View File

@ -21,8 +21,5 @@ public class LogService {
return logMapper.selectLoginCnt(searchVO);
}
// public LayersVO selectFacility(String layer) {
// return layersMapper.selectFacility(layer);
// }
}

View File

@ -86,12 +86,12 @@ public class AdminController {
int standByCount = userService.selectUserStandByCount();
model.addAttribute("standByCount", standByCount);
// 일, 월 방문자 수
BaseSearchVO searchVO = new BaseSearchVO();
LocalDate searchStartDate = LocalDate.now();
searchVO.setSearchStartDate(searchStartDate.format(DateTimeFormatter.ofPattern("yyyy-MM-dd")));
searchVO.setSearchEndDate(searchStartDate.format(DateTimeFormatter.ofPattern("yyyy-MM-dd")));
model.addAttribute("dayLoginCount", logService.selectLoginCnt(searchVO));
searchVO.setSearchStartDate(searchStartDate.minusMonths(1).format(DateTimeFormatter.ofPattern("yyyy-MM-dd")));
model.addAttribute("monthLoginCount", logService.selectLoginCnt(searchVO));

View File

@ -18,7 +18,7 @@ Global.fileStorePath = C:/MCA/upload/
#TEST DB
Global.datasource.driverClassName=com.mysql.cj.jdbc.Driver
Global.datasource.url=jdbc:mysql://106.247.244.146:57306/gg_mobile_220214?useSSL=false&serverTimezone=UTC
Global.datasource.url=jdbc:mysql://106.247.244.146:57306/gg_mobile_220214?useSSL=false&serverTimezone=Asia/Seoul
Global.datasource.username=root
Global.datasource.password=dbnt0928