소장자료 컨트롤러 수정 및 주석처리
This commit is contained in:
parent
61eb51a4a1
commit
c49b27ff5d
@ -38,7 +38,6 @@ import nlib.col.service.InterestService;
|
|||||||
import nlib.col.service.RisVO;
|
import nlib.col.service.RisVO;
|
||||||
import nlib.restful.service.DataApiReqVO;
|
import nlib.restful.service.DataApiReqVO;
|
||||||
import nlib.restful.service.DataApiResVO;
|
import nlib.restful.service.DataApiResVO;
|
||||||
import nlib.restful.service.DataApiVO;
|
|
||||||
import nlib.user.service.NlibLoginVO;
|
import nlib.user.service.NlibLoginVO;
|
||||||
import nlib.util.StringUtil;
|
import nlib.util.StringUtil;
|
||||||
|
|
||||||
@ -135,7 +134,7 @@ public class CollectionController extends NlibCommonController
|
|||||||
/*DataApiReqVO reqVO = new DataApiReqVO();
|
/*DataApiReqVO reqVO = new DataApiReqVO();
|
||||||
reqVO.setPageIndex(pageIndex);
|
reqVO.setPageIndex(pageIndex);
|
||||||
reqVO.setPageSize(pageSize);
|
reqVO.setPageSize(pageSize);
|
||||||
reqVO.putInfoItem("searchKeyword", searchKeyword);
|
reqVO.putInfoItem("searchKeyword", searchKeyword);*/
|
||||||
|
|
||||||
// 요청
|
// 요청
|
||||||
//DataApiResVO resVO = collectionService.listItems(reqVO);
|
//DataApiResVO resVO = collectionService.listItems(reqVO);
|
||||||
@ -148,10 +147,11 @@ public class CollectionController extends NlibCommonController
|
|||||||
// itemsCount: 255
|
// itemsCount: 255
|
||||||
// }
|
// }
|
||||||
HashMap<String, Object> retMap = new HashMap<String, Object>();
|
HashMap<String, Object> retMap = new HashMap<String, Object>();
|
||||||
retMap.put("data", resVO.getList(DataApiVO.XML_EL_NAME_RECORD));
|
/*retMap.put("data", resVO.getList(DataApiVO.XML_EL_NAME_RECORD));
|
||||||
retMap.put("itemsCount", resVO.getRecordTotCount());
|
retMap.put("itemsCount", resVO.getRecordTotCount());*/
|
||||||
retMap.put("data", List);
|
retMap.put("data", List);
|
||||||
retMap.put("pageVO", pageVO);
|
retMap.put("pageVO", pageVO);
|
||||||
|
|
||||||
return makeResponseEntityJson(retMap);
|
return makeResponseEntityJson(retMap);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -228,7 +228,7 @@ public class CollectionController extends NlibCommonController
|
|||||||
*
|
*
|
||||||
* @param req
|
* @param req
|
||||||
* @return
|
* @return
|
||||||
*/
|
*//*
|
||||||
@RequestMapping("/collection/selectItemInfo.do")
|
@RequestMapping("/collection/selectItemInfo.do")
|
||||||
public String selectItemInfo(HttpServletRequest req, Authentication authentication, @RequestParam Map<String, String> paramMap, ModelMap model) {
|
public String selectItemInfo(HttpServletRequest req, Authentication authentication, @RequestParam Map<String, String> paramMap, ModelMap model) {
|
||||||
// 목록 이동시 전달할 매개변수
|
// 목록 이동시 전달할 매개변수
|
||||||
@ -252,8 +252,8 @@ public class CollectionController extends NlibCommonController
|
|||||||
DataApiReqVO reqVO = new DataApiReqVO();
|
DataApiReqVO reqVO = new DataApiReqVO();
|
||||||
reqVO.setPageIndex(pageIndex);
|
reqVO.setPageIndex(pageIndex);
|
||||||
reqVO.setPageSize(pageSize);
|
reqVO.setPageSize(pageSize);
|
||||||
reqVO.putInfoItem("boardNo", "QNA"); // 게시판ID
|
reqVO.addInfoItem("boardNo", "QNA"); // 게시판ID
|
||||||
reqVO.putInfoItem("articleNo", articleNo); // 게시물번호
|
reqVO.addInfoItem("articleNo", articleNo); // 게시물번호
|
||||||
|
|
||||||
// 요청
|
// 요청
|
||||||
DataApiResVO resVO = collectionService.selectItemInfo(reqVO);
|
DataApiResVO resVO = collectionService.selectItemInfo(reqVO);
|
||||||
@ -267,5 +267,5 @@ public class CollectionController extends NlibCommonController
|
|||||||
model.addAttribute("searchKeyword", searchKeyword);
|
model.addAttribute("searchKeyword", searchKeyword);
|
||||||
|
|
||||||
return "nlib/collection/selectItemInfo";
|
return "nlib/collection/selectItemInfo";
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user