시간 설정 변경.
parent
142b3bf5dc
commit
44e7aaee73
|
|
@ -21,8 +21,5 @@ public class LogService {
|
|||
return logMapper.selectLoginCnt(searchVO);
|
||||
}
|
||||
|
||||
// public LayersVO selectFacility(String layer) {
|
||||
// return layersMapper.selectFacility(layer);
|
||||
// }
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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));
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue