|
|
@ -5,6 +5,7 @@ import java.util.List;
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
|
|
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
@ -20,6 +21,12 @@ import cokr.xit.foundation.web.RequestHandlerReader;
|
|
|
|
@Controller
|
|
|
|
@Controller
|
|
|
|
public class MainController extends cokr.xit.base.web.MainController {
|
|
|
|
public class MainController extends cokr.xit.base.web.MainController {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Value("${server.sggCd}")
|
|
|
|
|
|
|
|
private String sggCd;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Value("${server.instCd}")
|
|
|
|
|
|
|
|
private String instCd;
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
@Autowired
|
|
|
|
private TaskRequestMappingHandlerMapping requestHandlers;
|
|
|
|
private TaskRequestMappingHandlerMapping requestHandlers;
|
|
|
|
|
|
|
|
|
|
|
@ -31,9 +38,14 @@ public class MainController extends cokr.xit.base.web.MainController {
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public ModelAndView loginPage() {
|
|
|
|
public ModelAndView loginPage() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ModelAndView mav = new ModelAndView("login");
|
|
|
|
ModelAndView mav = new ModelAndView("login");
|
|
|
|
List<DataObject> sggList = fimsOgdpBean.selectAllSggList();
|
|
|
|
List<DataObject> sggList = fimsOgdpBean.selectAllSggList();
|
|
|
|
mav.addObject("sggList", sggList);
|
|
|
|
mav.addObject("sggList", sggList);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mav.addObject("sysInstCd", instCd);
|
|
|
|
|
|
|
|
mav.addObject("sysSggCd", sggCd);
|
|
|
|
return mav;
|
|
|
|
return mav;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|