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