|
|
|
@ -13,7 +13,7 @@ import org.springframework.web.servlet.ModelAndView;
|
|
|
|
|
|
|
|
|
|
import cokr.xit.base.user.ManagedUser;
|
|
|
|
|
import cokr.xit.base.user.service.UserService;
|
|
|
|
|
import cokr.xit.fims.mngt.service.bean.FimsOgdpBean;
|
|
|
|
|
import cokr.xit.fims.base.service.bean.OgdpBean;
|
|
|
|
|
import cokr.xit.fims.task.TaskRequestMappingHandlerMapping;
|
|
|
|
|
import cokr.xit.foundation.data.DataObject;
|
|
|
|
|
import cokr.xit.foundation.web.RequestHandlerReader;
|
|
|
|
@ -30,8 +30,8 @@ public class MainController extends cokr.xit.base.web.MainController {
|
|
|
|
|
@Autowired
|
|
|
|
|
private TaskRequestMappingHandlerMapping requestHandlers;
|
|
|
|
|
|
|
|
|
|
@Resource(name="fimsOgdpBean")
|
|
|
|
|
private FimsOgdpBean fimsOgdpBean;
|
|
|
|
|
@Resource(name="ogdpBean")
|
|
|
|
|
private OgdpBean ogdpBean;
|
|
|
|
|
|
|
|
|
|
@Resource(name="userService")
|
|
|
|
|
private UserService userService;
|
|
|
|
@ -41,7 +41,7 @@ public class MainController extends cokr.xit.base.web.MainController {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ModelAndView mav = new ModelAndView("login");
|
|
|
|
|
List<DataObject> sggList = fimsOgdpBean.selectAllSggList();
|
|
|
|
|
List<DataObject> sggList = ogdpBean.selectAllSggList();
|
|
|
|
|
mav.addObject("sggList", sggList);
|
|
|
|
|
|
|
|
|
|
mav.addObject("sysInstCd", instCd);
|
|
|
|
@ -84,12 +84,12 @@ public class MainController extends cokr.xit.base.web.MainController {
|
|
|
|
|
public ModelAndView signupPage(String sggCd) {
|
|
|
|
|
ModelAndView mav = new ModelAndView("fims/user/user-info");
|
|
|
|
|
|
|
|
|
|
mav.addObject("allOgdpList", fimsOgdpBean.selectAllOgdpList());
|
|
|
|
|
mav.addObject("allOgdpList", ogdpBean.selectAllOgdpList());
|
|
|
|
|
|
|
|
|
|
DataObject params = new DataObject();
|
|
|
|
|
params.set("anonymous", "Y");
|
|
|
|
|
params.set("sggCd", sggCd);
|
|
|
|
|
List<DataObject> ableOgdpList = fimsOgdpBean.selectAbleOgdpList(params);
|
|
|
|
|
List<DataObject> ableOgdpList = ogdpBean.selectAbleOgdpList(params);
|
|
|
|
|
mav.addObject("ableOgdpList", ableOgdpList);
|
|
|
|
|
|
|
|
|
|
mav.addObject("userInfo", "{}");
|
|
|
|
|