빈 충돌로인해 컨트롤러 이름 변경
This commit is contained in:
parent
30abedef77
commit
494935be56
@ -47,9 +47,9 @@ import nlib.user.service.NlibLoginVO;
|
|||||||
import nlib.util.StringUtil;
|
import nlib.util.StringUtil;
|
||||||
|
|
||||||
@Controller
|
@Controller
|
||||||
public class SearchController extends NlibCommonController {
|
public class NlibSearchController extends NlibCommonController {
|
||||||
|
|
||||||
private static final Logger log = LoggerFactory.getLogger(SearchController.class);
|
private static final Logger log = LoggerFactory.getLogger(NlibSearchController.class);
|
||||||
static final String DEFUALT_PAGE_SIZE = NlibProperty.getProperty("list.paging.page.size");
|
static final String DEFUALT_PAGE_SIZE = NlibProperty.getProperty("list.paging.page.size");
|
||||||
|
|
||||||
@Resource(name = "cartService")
|
@Resource(name = "cartService")
|
||||||
@ -284,7 +284,7 @@ public class SearchController extends NlibCommonController {
|
|||||||
for(int i = 0; collReferecne.getSearchResultList().size() > i;i++)
|
for(int i = 0; collReferecne.getSearchResultList().size() > i;i++)
|
||||||
{
|
{
|
||||||
/*collReferecne.getSearchResultList().get(i).get("MASTER_ID");*/
|
/*collReferecne.getSearchResultList().get(i).get("MASTER_ID");*/
|
||||||
colVO.setMasterId("UR-13EC7F809B9346FEB445CEF9961B7398");
|
colVO.setMasterId("UR-91F3EB466E2743C48CC264BAC8CC573B");
|
||||||
list.add(colVO);
|
list.add(colVO);
|
||||||
}
|
}
|
||||||
System.out.println(list.size());
|
System.out.println(list.size());
|
||||||
@ -341,7 +341,7 @@ public class SearchController extends NlibCommonController {
|
|||||||
CmmUtil.setAmsPathModelMap(request,model);
|
CmmUtil.setAmsPathModelMap(request,model);
|
||||||
searchVO.setQuery(searchVO.getQuery().replaceAll("\\\"", """));
|
searchVO.setQuery(searchVO.getQuery().replaceAll("\\\"", """));
|
||||||
searchVO.setExactQuery(searchVO.getExactQuery().replaceAll("\\\"", """));
|
searchVO.setExactQuery(searchVO.getExactQuery().replaceAll("\\\"", """));
|
||||||
return "nlib/collection/listItems";
|
return "nlib/collection/searchList";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Loading…
Reference in New Issue
Block a user