이준호 전자조정시스템 커밋
- 메인 컨트롤러 사용하지 않는 쿼리 주석
This commit is contained in:
parent
dc1d74e4d5
commit
bd6eac015d
@ -188,18 +188,18 @@ public class EgovMainController {
|
||||
return "redirect:/cmm/main/exctvMainPage.do";
|
||||
}
|
||||
|
||||
{//관리자 오늘 사용자수
|
||||
StatsVO statsVO = new StatsVO();
|
||||
List<?> conectStats = conectStatsService.selectMainConectStats(statsVO);
|
||||
for( Object tempStatsVO : conectStats){
|
||||
if("A".equals(((StatsVO)tempStatsVO).getUserAt())){//관리자
|
||||
model.addAttribute("adminViewCnt", ((StatsVO)tempStatsVO).getCnt());
|
||||
}
|
||||
if("U".equals(((StatsVO)tempStatsVO).getUserAt())){//사용자
|
||||
model.addAttribute("userViewCnt", ((StatsVO)tempStatsVO).getCnt());
|
||||
}
|
||||
}
|
||||
}
|
||||
// {//관리자 오늘 사용자수
|
||||
// StatsVO statsVO = new StatsVO();
|
||||
// List<?> conectStats = conectStatsService.selectMainConectStats(statsVO);
|
||||
// for( Object tempStatsVO : conectStats){
|
||||
// if("A".equals(((StatsVO)tempStatsVO).getUserAt())){//관리자
|
||||
// model.addAttribute("adminViewCnt", ((StatsVO)tempStatsVO).getCnt());
|
||||
// }
|
||||
// if("U".equals(((StatsVO)tempStatsVO).getUserAt())){//사용자
|
||||
// model.addAttribute("userViewCnt", ((StatsVO)tempStatsVO).getCnt());
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
LoginVO user = null ;
|
||||
BoardVO boardVO = new BoardVO();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user