최초반영
This commit is contained in:
parent
e4470f4ab7
commit
607c80a987
@ -13,16 +13,18 @@
|
|||||||
</classpathentry>
|
</classpathentry>
|
||||||
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
|
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
|
||||||
<attributes>
|
<attributes>
|
||||||
|
<attribute name="test" value="true"/>
|
||||||
<attribute name="optional" value="true"/>
|
<attribute name="optional" value="true"/>
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
</attributes>
|
</attributes>
|
||||||
</classpathentry>
|
</classpathentry>
|
||||||
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
|
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
|
||||||
<attributes>
|
<attributes>
|
||||||
|
<attribute name="test" value="true"/>
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
</attributes>
|
</attributes>
|
||||||
</classpathentry>
|
</classpathentry>
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.8.0_202">
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
</attributes>
|
</attributes>
|
||||||
|
|||||||
@ -68,8 +68,10 @@ public class NlibSearchServiceImpl implements NlibSearchService{
|
|||||||
@Value("#{properties['search.protocol']}")
|
@Value("#{properties['search.protocol']}")
|
||||||
private String SEARCH_PROTOCOL;
|
private String SEARCH_PROTOCOL;
|
||||||
|
|
||||||
public NlibSearchVO getSearch(NlibSearchVO searchVO) throws Exception {
|
public NlibSearchVO getSearch(NlibSearchVO searchVO) throws Exception
|
||||||
try {
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
//검색엔진 페이지 셋팅
|
//검색엔진 페이지 셋팅
|
||||||
searchVO.setListCount(Integer.toString(searchVO.getPageSize()));
|
searchVO.setListCount(Integer.toString(searchVO.getPageSize()));
|
||||||
searchVO.setStartCount(Integer.toString(searchVO.getPageIndex()));
|
searchVO.setStartCount(Integer.toString(searchVO.getPageIndex()));
|
||||||
@ -113,7 +115,8 @@ public class NlibSearchServiceImpl implements NlibSearchService{
|
|||||||
allParameters.forEach((k, v) -> log.debug("allParams > " + k + " : " + v));
|
allParameters.forEach((k, v) -> log.debug("allParams > " + k + " : " + v));
|
||||||
HttpEntity<MultiValueMap<String, String>> requestEntity = new HttpEntity(parameters, headers);
|
HttpEntity<MultiValueMap<String, String>> requestEntity = new HttpEntity(parameters, headers);
|
||||||
HttpEntity<MultiValueMap<String, String>> allRequestEntity = new HttpEntity(allParameters, headers);
|
HttpEntity<MultiValueMap<String, String>> allRequestEntity = new HttpEntity(allParameters, headers);
|
||||||
responseEntity = restTemplate.postForEntity(url, requestEntity , String.class);
|
|
||||||
|
responseEntity = restTemplate.postForEntity(url, requestEntity , String.class);
|
||||||
allResponseEntity = restTemplate.postForEntity(url, allRequestEntity , String.class);
|
allResponseEntity = restTemplate.postForEntity(url, allRequestEntity , String.class);
|
||||||
|
|
||||||
//-----------------------------------
|
//-----------------------------------
|
||||||
|
|||||||
@ -140,9 +140,9 @@ public class NlibSearchController extends NlibCommonController {
|
|||||||
searchVO.setReQuery("");
|
searchVO.setReQuery("");
|
||||||
searchVO.setReQueryChk("query");
|
searchVO.setReQueryChk("query");
|
||||||
}
|
}
|
||||||
//검색엔진
|
//검색엔진
|
||||||
try{
|
try
|
||||||
|
{
|
||||||
|
|
||||||
searchVO = nlibSearchService.getSearch(searchVO);
|
searchVO = nlibSearchService.getSearch(searchVO);
|
||||||
|
|
||||||
@ -166,9 +166,13 @@ public class NlibSearchController extends NlibCommonController {
|
|||||||
model.addAttribute("pageVO", pageVO);
|
model.addAttribute("pageVO", pageVO);
|
||||||
model.addAttribute("searchVO", searchVO);
|
model.addAttribute("searchVO", searchVO);
|
||||||
|
|
||||||
}catch(NumberFormatException e){
|
}
|
||||||
|
catch(NumberFormatException e)
|
||||||
|
{
|
||||||
log.error("searchList.do paging > NumberFormatException 발생 : " + e.toString());
|
log.error("searchList.do paging > NumberFormatException 발생 : " + e.toString());
|
||||||
}catch(Exception e){
|
}
|
||||||
|
catch(Exception e)
|
||||||
|
{
|
||||||
log.error("searchList.do getSearch > Exception 발생 : " + e.toString());
|
log.error("searchList.do getSearch > Exception 발생 : " + e.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
Manifest-Version: 1.0
|
Manifest-Version: 1.0
|
||||||
Built-By: ecpla
|
Built-By: scale
|
||||||
Build-Jdk: 1.8.0_201
|
Build-Jdk: 1.8.0_201
|
||||||
Created-By: Maven Integration for Eclipse
|
Created-By: Maven Integration for Eclipse
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
#Generated by Maven Integration for Eclipse
|
#Generated by Maven Integration for Eclipse
|
||||||
#Mon Mar 13 10:07:45 KST 2023
|
#Wed Feb 19 14:00:08 KST 2025
|
||||||
version=1.0.0
|
version=1.0.0
|
||||||
groupId=nlib
|
groupId=nlib
|
||||||
m2e.projectName=iams.nlib
|
m2e.projectName=iams.nlib
|
||||||
m2e.projectLocation=D\:\\work_source\\iams\\workspace\\iams.nlib
|
m2e.projectLocation=D\:\\iams\\workspace\\iams.nlib
|
||||||
artifactId=nlib
|
artifactId=nlib
|
||||||
|
|||||||
@ -231,6 +231,9 @@ function delDetailFilter(name){
|
|||||||
function allReset(){
|
function allReset(){
|
||||||
|
|
||||||
$("#d_query").val("");
|
$("#d_query").val("");
|
||||||
|
$("#exactQuery").val("");
|
||||||
|
$("#andQuery").val("");
|
||||||
|
$("#notQuery").val("");
|
||||||
$("#d_bookIndex").val("");
|
$("#d_bookIndex").val("");
|
||||||
$("#d_mngtNo").val("");
|
$("#d_mngtNo").val("");
|
||||||
$("#d_creatYyyyStart").val("");
|
$("#d_creatYyyyStart").val("");
|
||||||
@ -397,6 +400,14 @@ function detailPopClose(){
|
|||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li class="row-keyword-detail">
|
<li class="row-keyword-detail">
|
||||||
|
<p class="tit"><label for="exactQuery">고급검색</label></p>
|
||||||
|
<div class="input-area">
|
||||||
|
<input type="text" placeholder="정확히 일치하는 단어/문장(" ")" title="정확히 일치하는 단어/문장(" ")" id="exactQuery" name="exactQuery" value="" />
|
||||||
|
<input type="text" placeholder="반드시 포함하는 단어(+)" title="반드시 포함하는 단어(+)" id="andQuery" name="andQuery" value="" />
|
||||||
|
<input type="text" placeholder="제외하는 단어(-)" title="제외하는 단어(-)" id="notQuery" name="notQuery" value="" />
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li class="row-keyword-detail2">
|
||||||
<p class="tit"><label for="d_bookIndex">목차검색</label></p>
|
<p class="tit"><label for="d_bookIndex">목차검색</label></p>
|
||||||
<div class="input-area">
|
<div class="input-area">
|
||||||
<input type="text" placeholder="검색어를 입력하세요." title="검색어를 입력하세요." id="d_bookIndex" name="bookIndex" value="" />
|
<input type="text" placeholder="검색어를 입력하세요." title="검색어를 입력하세요." id="d_bookIndex" name="bookIndex" value="" />
|
||||||
|
|||||||
@ -10432,8 +10432,12 @@ body.no-scroll {
|
|||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.advanced-form-table li.row-keyword-detail {
|
||||||
|
width: 100%
|
||||||
|
}
|
||||||
|
|
||||||
.advanced-form-table .row-keyword-detail input {
|
.advanced-form-table .row-keyword-detail input {
|
||||||
width: calc(100% - 0px);
|
width: calc(33.333% - 10px);
|
||||||
margin-right: 15px;
|
margin-right: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -10441,6 +10445,15 @@ body.no-scroll {
|
|||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.advanced-form-table .row-keyword-detail2 input {
|
||||||
|
width: calc(100% - 0px);
|
||||||
|
margin-right: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.advanced-form-table .row-keyword-detail2 input:last-child {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.advanced-form-table .row-issued-year input {
|
.advanced-form-table .row-issued-year input {
|
||||||
width: calc(50% - 16px);
|
width: calc(50% - 16px);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user