Compare commits
2 Commits
e18677a5c0
...
a827129d1b
| Author | SHA1 | Date |
|---|---|---|
|
|
a827129d1b | |
|
|
16b6072ffe |
|
|
@ -17,7 +17,7 @@ public class CodeMgtController {
|
||||||
|
|
||||||
@GetMapping("/codeMgtPage")
|
@GetMapping("/codeMgtPage")
|
||||||
public ModelAndView codeMgtPage() {
|
public ModelAndView codeMgtPage() {
|
||||||
ModelAndView mav = new ModelAndView("/adminPage/codeMgt/codeMgt");
|
ModelAndView mav = new ModelAndView("adminPage/codeMgt/codeMgt");
|
||||||
return mav;
|
return mav;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ public class BaseController {
|
||||||
|
|
||||||
@GetMapping("/login")
|
@GetMapping("/login")
|
||||||
public ModelAndView goLogin() {
|
public ModelAndView goLogin() {
|
||||||
ModelAndView mav = new ModelAndView("/login/login");
|
ModelAndView mav = new ModelAndView("login/login");
|
||||||
mav.addObject("OgList", codeMgtService.selectCodeMgtList("OG"));
|
mav.addObject("OgList", codeMgtService.selectCodeMgtList("OG"));
|
||||||
mav.addObject("OfcList", codeMgtService.selectCodeMgtList("OFC"));
|
mav.addObject("OfcList", codeMgtService.selectCodeMgtList("OFC"));
|
||||||
return mav;
|
return mav;
|
||||||
|
|
@ -42,7 +42,7 @@ public class BaseController {
|
||||||
|
|
||||||
@GetMapping("/login-error")
|
@GetMapping("/login-error")
|
||||||
public ModelAndView loginError() {
|
public ModelAndView loginError() {
|
||||||
ModelAndView mav = new ModelAndView("/login/login");
|
ModelAndView mav = new ModelAndView("login/login");
|
||||||
mav.addObject("OgList", codeMgtService.selectCodeMgtList("OG"));
|
mav.addObject("OgList", codeMgtService.selectCodeMgtList("OG"));
|
||||||
mav.addObject("OfcList", codeMgtService.selectCodeMgtList("OFC"));
|
mav.addObject("OfcList", codeMgtService.selectCodeMgtList("OFC"));
|
||||||
mav.addObject("loginError", true);
|
mav.addObject("loginError", true);
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ public class MenuMgtController {
|
||||||
|
|
||||||
@GetMapping("/menuMgtPage")
|
@GetMapping("/menuMgtPage")
|
||||||
public ModelAndView menuMgtPage(MenuMgt menuMgt) {
|
public ModelAndView menuMgtPage(MenuMgt menuMgt) {
|
||||||
ModelAndView mav = new ModelAndView("/adminPage/menuMgt/menuMgt");
|
ModelAndView mav = new ModelAndView("adminPage/menuMgt/menuMgt");
|
||||||
menuMgt.setQueryInfo();
|
menuMgt.setQueryInfo();
|
||||||
mav.addObject("menuMgtList", menuMgtService.selectMenuMgtList(menuMgt));
|
mav.addObject("menuMgtList", menuMgtService.selectMenuMgtList(menuMgt));
|
||||||
menuMgt.setContentCnt(menuMgtService.selectMenuMgtListCnt(menuMgt));
|
menuMgt.setContentCnt(menuMgtService.selectMenuMgtListCnt(menuMgt));
|
||||||
|
|
@ -31,7 +31,7 @@ public class MenuMgtController {
|
||||||
|
|
||||||
@GetMapping("/menuEditModal")
|
@GetMapping("/menuEditModal")
|
||||||
public ModelAndView menuEditModal(MenuMgt menuMgt){
|
public ModelAndView menuEditModal(MenuMgt menuMgt){
|
||||||
ModelAndView mav = new ModelAndView("/adminPage/menuMgt/menuEditModal");
|
ModelAndView mav = new ModelAndView("adminPage/menuMgt/menuEditModal");
|
||||||
mav.addObject("menuMgt", menuMgt);
|
mav.addObject("menuMgt", menuMgt);
|
||||||
mav.addObject("cat1List", codeMgtService.selectCodeMgtList("CAT1"));
|
mav.addObject("cat1List", codeMgtService.selectCodeMgtList("CAT1"));
|
||||||
mav.addObject("cat2List", codeMgtService.selectCodeMgtList("CAT2"));
|
mav.addObject("cat2List", codeMgtService.selectCodeMgtList("CAT2"));
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ spring.sql.init.encoding=utf-8
|
||||||
#spring.datasource.driverClassName=net.sf.log4jdbc.sql.jdbcapi.DriverSpy
|
#spring.datasource.driverClassName=net.sf.log4jdbc.sql.jdbcapi.DriverSpy
|
||||||
spring.datasource.driverClassName=org.postgresql.Driver
|
spring.datasource.driverClassName=org.postgresql.Driver
|
||||||
#spring.datasource.url=jdbc:log4jdbc:postgresql://118.219.150.34:50503/faisp
|
#spring.datasource.url=jdbc:log4jdbc:postgresql://118.219.150.34:50503/faisp
|
||||||
spring.datasource.url=jdbc:postgresql://localhost:5432/faisp
|
spring.datasource.url=jdbc:postgresql://118.219.150.34:50503/faisp
|
||||||
spring.datasource.username=dbnt0031
|
spring.datasource.username=dbnt0031
|
||||||
spring.datasource.password=dbnt0928!
|
spring.datasource.password=dbnt0928!
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue