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
b5765d57
Commit
b5765d57
authored
Jan 22, 2019
by
wangxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
下载修改
parent
398d6c3a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
6 deletions
+20
-6
src/main/java/com/cc/service/impl/SolrServiceImpl.java
+14
-5
src/main/webapp/static/rasc/js/navCategory_zj.js
+2
-0
src/main/webapp/wzmstcx.jsp
+4
-1
No files found.
src/main/java/com/cc/service/impl/SolrServiceImpl.java
View file @
b5765d57
...
...
@@ -5799,6 +5799,7 @@ public class SolrServiceImpl implements SolrService {
mapResult
.
put
(
"jsasj_fxasjdd_xzqhmc"
,
solrDocument
.
get
(
"FXASJDD_XZQHMC"
));
mapResult
.
put
(
"jsasj_asjfsdd_xzqhdm"
,
solrDocument
.
get
(
"ASJFSDD_XZQHDM"
));
mapResult
.
put
(
"jsasj_asjfsdd_dzmc"
,
solrDocument
.
get
(
"ASJFSDD_DZMC"
));
mapResult
.
put
(
"jsasj_fxasjdd_dzmc"
,
solrDocument
.
get
(
"JSASJ_FXASJDD_DZMC"
));
String
jsasjAsjfssjAsjfskssj
=
(
String
)
solrDocument
.
get
(
"ASJFSSJ_ASJFSJSSJ"
);
if
(
null
!=
jsasjAsjfssjAsjfskssj
&&
!
""
.
equals
(
jsasjAsjfssjAsjfskssj
)){
if
(
jsasjAsjfssjAsjfskssj
.
length
()
>
19
){
...
...
@@ -6379,8 +6380,7 @@ public class SolrServiceImpl implements SolrService {
return
easyUIPage
;
}
//目前没有用到(2019-01-09)
//接受案事件查询
public
List
<
Map
<
String
,
Object
>>
getJsasjSorlByFQ
(
String
fq
,
Integer
maxValue
,
String
solrAddress
,
String
sorlInstance
,
String
[]
checkIds
){
solrAddress
=
solrAddress
+
"/"
+
sorlInstance
;
HttpSolrClient
client
=
new
HttpSolrClient
(
solrAddress
);
...
...
@@ -6420,10 +6420,11 @@ public class SolrServiceImpl implements SolrService {
for
(
SolrDocument
solrDocument
:
results
)
{
if
(
solrDocument
!=
null
){
Map
<
String
,
Object
>
mapResult
=
new
HashMap
<
String
,
Object
>();
mapResult
.
put
(
"id"
,
solrDocument
.
get
(
"ID"
));
mapResult
.
put
(
"jsasj_jyaq"
,
solrDocument
.
get
(
"JSASJ_JYAQ"
));
mapResult
.
put
(
"jsasj_asjfsdd_xzqhdm"
,
solrDocument
.
get
(
"JSASJ_ASJFSDD_XZQHDM"
));
mapResult
.
put
(
"jsasj_asjfsdd_dzmc"
,
solrDocument
.
get
(
"JSASJ_ASJFSDD_DZMC"
));
mapResult
.
put
(
"jsasj_fxasjdd_xzqhmc"
,
solrDocument
.
get
(
"FXASJDD_XZQHMC"
));
mapResult
.
put
(
"jsasj_asjfsdd_xzqhdm"
,
solrDocument
.
get
(
"ASJFSDD_XZQHDM"
));
mapResult
.
put
(
"jsasj_asjfsdd_dzmc"
,
solrDocument
.
get
(
"ASJFSDD_DZMC"
));
mapResult
.
put
(
"jsasj_fxasjdd_dzmc"
,
solrDocument
.
get
(
"JSASJ_FXASJDD_DZMC"
));
String
jsasjAsjfssjAsjfskssj
=
(
String
)
solrDocument
.
get
(
"ASJFSSJ_ASJFSJSSJ"
);
if
(
null
!=
jsasjAsjfssjAsjfskssj
&&
!
""
.
equals
(
jsasjAsjfssjAsjfskssj
)){
if
(
jsasjAsjfssjAsjfskssj
.
length
()
>
19
){
...
...
@@ -6445,6 +6446,14 @@ public class SolrServiceImpl implements SolrService {
mapResult
.
put
(
"zuzdw_xbr_xm1"
,
solrDocument
.
get
(
"ZUZDW_XBR_XM1"
));
mapResult
.
put
(
"zuzdw_gajgmc"
,
solrDocument
.
get
(
"ZUZDW_GAJGMC"
));
mapResult
.
put
(
"xxdjdw_gajgmc"
,
solrDocument
.
get
(
"XXDJDW_GAJGMC"
));
mapResult
.
put
(
"jsasj_asjfssj_asjfskssj"
,
solrDocument
.
get
(
"ASJFSSJ_ASJFSKSSJ"
));
mapResult
.
put
(
"jsasj_asjfssj_asjfskssj_year"
,
solrDocument
.
get
(
"ASJFSSJ_ASJFSKSSJ_YEAR"
));
mapResult
.
put
(
"jsasj_asjfssj_asjfskssj_month"
,
solrDocument
.
get
(
"ASJFSSJ_ASJFSKSSJ_MONTH"
));
mapResult
.
put
(
"jsasj_asjfssj_asjfskssj_month"
,
solrDocument
.
get
(
"ASJFSSJ_ASJFSKSSJ_DATE"
));
mapResult
.
put
(
"jsasj_fxasjdd_xzqhdm"
,
solrDocument
.
get
(
"FXASJDD_XZQHDM"
));
mapResult
.
put
(
"jsasj_fxasjdd_xzqhdm_province"
,
solrDocument
.
get
(
"FXASJDD_XZQHDM_PROVINCE"
));
mapResult
.
put
(
"jsasj_fxasjdd_xzqhdm_city"
,
solrDocument
.
get
(
"FXASJDD_XZQHDM_CITY"
));
mapResult
.
put
(
"jsasj_fxasjdd_xzqhmc"
,
solrDocument
.
get
(
"FXASJDD_XZQHMC"
));
xyrxxList
.
add
(
mapResult
);
}
}
...
...
src/main/webapp/static/rasc/js/navCategory_zj.js
View file @
b5765d57
...
...
@@ -1783,9 +1783,11 @@ var navCategory = {
},
getFirstLevel
:
function
(
searchType
,
groupid
,
groupValue
,
code
,
id
,
flag
){
if
(
flag
){
console
.
log
(
111
);
$
(
'#'
+
groupid
.
replace
(
"XZQHDM_PROVINCE"
,
"XZQHDM_CITY"
)).
remove
();
$
(
'#'
+
groupid
.
replace
(
"XZQHDM_PROVINCE"
,
"XZQHMC"
).
replace
(
"XZQHDM_CITY"
,
"XZQHMC"
)).
remove
();
}
else
{
console
.
log
(
222
);
var
str
=
"<a class=
\"
newNavA pull-left newNavA-title
\"
id=
\"
"
+
groupid
+
"1
\"
onclick=
\"
navCategory.getFirstLevel('"
+
searchType
+
"','"
+
groupid
+
"','"
+
groupValue
+
"','"
+
code
+
"','"
+
id
+
"',true)
\"
>>"
+
groupValue
+
"</a>"
;
$
(
'#'
+
id
+
' .newLayoutDiv a'
).
eq
(
0
).
after
(
str
);
}
...
...
src/main/webapp/wzmstcx.jsp
View file @
b5765d57
...
...
@@ -736,6 +736,9 @@
if
(
searchType
==
'wzmst'
){
url
=
"createFileJbwzmst"
;
sorlInstance
=
"TB_XW_JBWZMST"
;
}
else
if
(
searchType
==
'jsasj'
){
url
=
"createFileJsasj"
;
sorlInstance
=
"TB_XW_JSASJ"
;
}
var
checkIds
=
[];
$
.
each
(
$
(
'#Table'
).
datagrid
(
'getChecked'
),
function
(
index
,
item
){
//把所有被选中的复选框的值存入数组
...
...
@@ -850,7 +853,7 @@
checkList
:
[
{
'1'
:[
'jsasj_fxasjdd_xzqhmc'
,
'发现地区划'
],
'2'
:[
'jsasj_
asjfs
dd_dzmc'
,
'发现地点名称'
],
'2'
:[
'jsasj_
fxasj
dd_dzmc'
,
'发现地点名称'
],
'3'
:[
'jsasj_asjfssj_asjfskssj'
,
'发现时间'
],
'4'
:[
'jsasj_jyaq'
,
'简要案情'
]
}
...
...
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