Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xzxt-solr
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
xzxt-solr
Commits
63f3313b
Commit
63f3313b
authored
Aug 13, 2020
by
yanru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改案件查询实例名为TB_ST_ASJ,为了和案件侦办实例名保持一致
parent
1cde0f79
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
src/main/java/com/cc/controller/SolrController.java
+2
-2
src/main/java/com/cc/service/impl/SolrServiceImpl.java
+1
-1
src/main/webapp/static/rasc/js/navCategory_zj.js
+1
-1
No files found.
src/main/java/com/cc/controller/SolrController.java
View file @
63f3313b
...
...
@@ -7076,7 +7076,7 @@ public class SolrController {
User
user
=(
User
)
request
.
getSession
().
getAttribute
(
"user"
);
String
ssdw
=
user
.
getCountryCode
()
+
"*"
;
asjQ
+=
" AND XXSC_PDBZ:0 AND XXDJDW_GAJGJGDM:"
+
ssdw
;
String
fq
=
"{!join fromIndex=
ASJXXZB
from=ID to=ASJBH}"
;
String
fq
=
"{!join fromIndex=
TB_ST_ASJ
from=ID to=ASJBH}"
;
fq
+=
asjQ
.
substring
(
5
,
asjQ
.
length
());
System
.
out
.
println
(
fq
);
fqList
.
add
(
fq
);
...
...
@@ -9545,7 +9545,7 @@ public class SolrController {
User
user
=(
User
)
request
.
getSession
().
getAttribute
(
"user"
);
String
ssdw
=
user
.
getCountryCode
()
+
"*"
;
asjQ
+=
" AND XXSC_PDBZ:0 AND XXDJDW_GAJGJGDM:"
+
ssdw
;
String
fq
=
"{!join fromIndex=
ASJXXZB
from=ID to=ASJBH}"
;
String
fq
=
"{!join fromIndex=
TB_ST_ASJ
from=ID to=ASJBH}"
;
fq
+=
asjQ
.
substring
(
5
,
asjQ
.
length
());
System
.
out
.
println
(
fq
);
fqList
.
add
(
fq
);
...
...
src/main/java/com/cc/service/impl/SolrServiceImpl.java
View file @
63f3313b
...
...
@@ -53,7 +53,7 @@ public class SolrServiceImpl implements SolrService {
solrParams
.
add
(
"q"
,
q
);
solrParams
.
add
(
"start"
,
begin
+
""
);
solrParams
.
add
(
"rows"
,
end
+
""
);
if
(
StringUtils
.
isNotBlank
(
sort
)&&
"
ASJXXZB
"
.
equals
(
sorlInstance
)){
if
(
StringUtils
.
isNotBlank
(
sort
)&&
"
TB_ST_ASJ
"
.
equals
(
sorlInstance
)){
if
(
sort
.
equals
(
"ladwGajgmc"
)){
solrParams
.
add
(
"sort"
,
"LADW_GAJGJGDM"
+
" "
+
order
);
}
else
{
...
...
src/main/webapp/static/rasc/js/navCategory_zj.js
View file @
63f3313b
...
...
@@ -170,7 +170,7 @@ var navCategory = {
if
(
searchType
==
'aj'
){
presentType
=
$
(
'input[type=radio][name="asjPresentType"]:checked '
).
val
();
url
=
"listTbStAsj"
;
sorlInstance
=
"
ASJXXZB
"
;
sorlInstance
=
"
TB_ST_ASJ
"
;
}
else
if
(
searchType
==
'sqaj'
){
presentType
=
$
(
'input[type=radio][name="asjPresentType"]:checked '
).
val
();
url
=
"listSqAsj"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment