Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jfV5cxjcy
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
苟磊
jfV5cxjcy
Commits
6a837345
Commit
6a837345
authored
Nov 12, 2020
by
goul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:调整查询不精确的问题,添加录入时间字段, 爬取数据范围设置为最近4个月
parent
9fe36b3b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
23 deletions
+19
-23
data.jsp
WebContent/bussInfo/pages/index/data.jsp
+15
-18
dataAction.java
src_business_info/com/jf/action/awardFile/dataAction.java
+3
-3
CrawlData.java
src_business_info/com/jf/common/CrawlData.java
+0
-1
CrawlDataXs.java
src_business_info/com/jf/common/CrawlDataXs.java
+1
-1
No files found.
WebContent/bussInfo/pages/index/data.jsp
View file @
6a837345
...
@@ -224,20 +224,18 @@ a{
...
@@ -224,20 +224,18 @@ a{
<el-table
stripe
:data=
"tableData"
border
style=
"width: 100%"
class=
"table"
>
<el-table
stripe
:data=
"tableData"
border
style=
"width: 100%"
class=
"table"
>
<el-table-column
label=
"序号"
type=
"index"
:index=
'indexMethod'
width=
"60"
align=
"center"
></el-table-column>
<el-table-column
label=
"序号"
type=
"index"
:index=
'indexMethod'
width=
"60"
align=
"center"
></el-table-column>
<el-table-column
label=
"案号"
width=
"260"
align=
"center"
prop=
"WRIT_CODE"
>
</el-table-column>
<el-table-column
label=
"案号"
width=
"260"
align=
"center"
prop=
"WRIT_CODE"
>
</el-table-column>
<el-table-column
label=
"原告"
width=
"150"
align=
"center"
prop=
"USER_YG"
>
</el-table-column>
<el-table-column
label=
"文件"
width=
"80"
align=
"center"
>
<el-table-column
label=
"被告"
width=
"150"
align=
"center"
prop=
"USER_BG"
>
</el-table-column>
<template
slot-scope=
"scope"
>
<el-table-column
label=
"被告人"
width=
"150"
align=
"center"
prop=
"USER_BGR"
>
</el-table-column>
<a
@
click=
"doFile(scope.$index, scope.row)"
class=
"layui-btn layui-btn-normal layui-btn-xs"
>
查看
</a>
</template>
</el-table-column>
<el-table-column
label=
"被告人"
width=
"474"
align=
"center"
prop=
"USER_BGR"
>
</el-table-column>
<el-table-column
label=
"法院"
width=
"100"
align=
"center"
prop=
"COURT"
>
</el-table-column>
<el-table-column
label=
"法院"
width=
"100"
align=
"center"
prop=
"COURT"
>
</el-table-column>
<el-table-column
label=
"案由"
width=
"250"
align=
"center"
prop=
"REASON"
>
</el-table-column>
<el-table-column
label=
"案由"
width=
"250"
align=
"center"
prop=
"REASON"
>
</el-table-column>
<el-table-column
label=
"方式"
width=
"120"
align=
"center"
prop=
"WAY"
>
</el-table-column>
<el-table-column
label=
"方式"
width=
"120"
align=
"center"
prop=
"WAY"
>
</el-table-column>
<el-table-column
label=
"收案日期"
width=
"130"
align=
"center"
prop=
"START_TIME"
>
</el-table-column>
<el-table-column
label=
"收案日期"
width=
"130"
align=
"center"
prop=
"START_TIME"
>
</el-table-column>
<el-table-column
label=
"结案日期"
width=
"130"
align=
"center"
prop=
"END_TIME"
>
</el-table-column>
<el-table-column
label=
"结案日期"
width=
"130"
align=
"center"
prop=
"END_TIME"
>
</el-table-column>
<el-table-column
label=
"创建时间"
width=
"250"
align=
"center"
prop=
"CREATE_TIME"
></el-table-column>
<el-table-column
label=
"录入日期"
width=
"130"
align=
"center"
prop=
"CREATE_TIME"
></el-table-column>
<el-table-column
label=
"文件"
width=
"80"
align=
"center"
>
<template
slot-scope=
"scope"
>
<a
@
click=
"doFile(scope.$index, scope.row)"
class=
"layui-btn layui-btn-normal layui-btn-xs"
>
查看
</a>
</template>
</el-table-column>
</el-table>
</el-table>
<el-pagination
@
size-change=
"doSizeChange"
@
current-change=
"doCurrentChange"
:current-page=
"is_page"
:page-sizes=
"is_listPageSize"
<el-pagination
@
size-change=
"doSizeChange"
@
current-change=
"doCurrentChange"
:current-page=
"is_page"
:page-sizes=
"is_listPageSize"
:page-size=
"is_rows"
background
layout=
"sizes, prev, pager, next, jumper,total"
:total=
"is_total"
class=
"page"
>
:page-size=
"is_rows"
background
layout=
"sizes, prev, pager, next, jumper,total"
:total=
"is_total"
class=
"page"
>
...
@@ -248,20 +246,19 @@ a{
...
@@ -248,20 +246,19 @@ a{
<el-table
stripe
:data=
"tableData1"
border
style=
"width: 100%"
class=
"table"
>
<el-table
stripe
:data=
"tableData1"
border
style=
"width: 100%"
class=
"table"
>
<el-table-column
label=
"序号"
type=
"index"
:index=
'indexMethod'
width=
"60"
align=
"center"
></el-table-column>
<el-table-column
label=
"序号"
type=
"index"
:index=
'indexMethod'
width=
"60"
align=
"center"
></el-table-column>
<el-table-column
label=
"案号"
width=
"260"
align=
"center"
prop=
"WRIT_CODE"
>
</el-table-column>
<el-table-column
label=
"案号"
width=
"260"
align=
"center"
prop=
"WRIT_CODE"
>
</el-table-column>
<el-table-column
label=
"原告"
width=
"150"
align=
"center"
prop=
"USER_YG"
>
</el-table-column>
<el-table-column
label=
"文件"
width=
"80"
align=
"center"
>
<el-table-column
label=
"被告"
width=
"150"
align=
"center"
prop=
"USER_BG"
>
</el-table-column>
<template
slot-scope=
"scope"
>
<el-table-column
label=
"被告人"
width=
"150"
align=
"center"
prop=
"USER_BGR"
>
</el-table-column>
<a
@
click=
"doFile(scope.$index, scope.row)"
class=
"layui-btn layui-btn-normal layui-btn-xs"
>
查看
</a>
</template>
</el-table-column>
<el-table-column
label=
"原告"
width=
"237"
align=
"center"
prop=
"USER_YG"
>
</el-table-column>
<el-table-column
label=
"被告"
width=
"237"
align=
"center"
prop=
"USER_BG"
>
</el-table-column>
<el-table-column
label=
"法院"
width=
"100"
align=
"center"
prop=
"COURT"
>
</el-table-column>
<el-table-column
label=
"法院"
width=
"100"
align=
"center"
prop=
"COURT"
>
</el-table-column>
<el-table-column
label=
"案由"
width=
"250"
align=
"center"
prop=
"REASON"
>
</el-table-column>
<el-table-column
label=
"案由"
width=
"250"
align=
"center"
prop=
"REASON"
>
</el-table-column>
<el-table-column
label=
"方式"
width=
"120"
align=
"center"
prop=
"WAY"
>
</el-table-column>
<el-table-column
label=
"方式"
width=
"120"
align=
"center"
prop=
"WAY"
>
</el-table-column>
<el-table-column
label=
"收案日期"
width=
"130"
align=
"center"
prop=
"START_TIME"
>
</el-table-column>
<el-table-column
label=
"收案日期"
width=
"130"
align=
"center"
prop=
"START_TIME"
>
</el-table-column>
<el-table-column
label=
"结案日期"
width=
"130"
align=
"center"
prop=
"END_TIME"
>
</el-table-column>
<el-table-column
label=
"结案日期"
width=
"130"
align=
"center"
prop=
"END_TIME"
>
</el-table-column>
<el-table-column
label=
"创建时间"
width=
"250"
align=
"center"
prop=
"CREATE_TIME"
></el-table-column>
<el-table-column
label=
"录入日期"
width=
"130"
align=
"center"
prop=
"CREATE_TIME"
></el-table-column>
<el-table-column
label=
"文件"
width=
"80"
align=
"center"
>
<template
slot-scope=
"scope"
>
<a
@
click=
"doFile(scope.$index, scope.row)"
class=
"layui-btn layui-btn-normal layui-btn-xs"
>
查看
</a>
</template>
</el-table-column>
</el-table>
</el-table>
<el-pagination
@
size-change=
"doSizeChange1"
@
current-change=
"doCurrentChange1"
:current-page=
"is_page1"
:page-sizes=
"is_listPageSize"
<el-pagination
@
size-change=
"doSizeChange1"
@
current-change=
"doCurrentChange1"
:current-page=
"is_page1"
:page-sizes=
"is_listPageSize"
:page-size=
"is_rows1"
background
layout=
"sizes, prev, pager, next, jumper,total"
:total=
"is_total1"
class=
"page"
>
:page-size=
"is_rows1"
background
layout=
"sizes, prev, pager, next, jumper,total"
:total=
"is_total1"
class=
"page"
>
...
...
src_business_info/com/jf/action/awardFile/dataAction.java
View file @
6a837345
...
@@ -110,7 +110,7 @@ public class dataAction extends BasicAction{
...
@@ -110,7 +110,7 @@ public class dataAction extends BasicAction{
if
(!
StringUtil
.
isEmpty
(
otherWhere
))
{
if
(!
StringUtil
.
isEmpty
(
otherWhere
))
{
otherWhere
+=
" and "
;
otherWhere
+=
" and "
;
}
}
otherWhere
+=
"
END
_TIME >= '"
+
query
.
get
(
"START_TIME"
)
+
"' "
;
otherWhere
+=
"
START
_TIME >= '"
+
query
.
get
(
"START_TIME"
)
+
"' "
;
query
.
remove
(
"START_TIME"
);
query
.
remove
(
"START_TIME"
);
}
}
if
(
query
.
get
(
"END_TIME"
)
!=
null
)
{
if
(
query
.
get
(
"END_TIME"
)
!=
null
)
{
...
@@ -126,7 +126,7 @@ public class dataAction extends BasicAction{
...
@@ -126,7 +126,7 @@ public class dataAction extends BasicAction{
if
(
null
!=
request
.
getParameter
(
"COURT"
)){
if
(
null
!=
request
.
getParameter
(
"COURT"
)){
query
.
put
(
"COURT"
,
request
.
getParameter
(
"COURT"
));
query
.
put
(
"COURT"
,
request
.
getParameter
(
"COURT"
));
}
}
if
(!
StringUtil
.
isEmpty
(
otherWhere
))
{
if
(!
""
.
equals
(
otherWhere
))
{
otherWhere
+=
" and "
;
otherWhere
+=
" and "
;
}
}
otherWhere
+=
" ( "
+
otherWhere
+=
" ( "
+
...
@@ -154,7 +154,7 @@ public class dataAction extends BasicAction{
...
@@ -154,7 +154,7 @@ public class dataAction extends BasicAction{
Page
<
Map
<
String
,
Object
>>
pageRows
=
business
.
list_dataM
(
pageNo
,
pageSize
,
tableName
,
query
);
Page
<
Map
<
String
,
Object
>>
pageRows
=
business
.
list_dataM
(
pageNo
,
pageSize
,
tableName
,
query
);
setPageCount
((
pageRows
.
getCount
()
-
1
)
/
pageSize
+
1
);
setPageCount
((
pageRows
.
getCount
()
-
1
)
/
pageSize
+
1
);
Map
<
String
,
Object
>
data
=
new
HashMap
<
String
,
Object
>();
Map
<
String
,
Object
>
data
=
new
HashMap
<
String
,
Object
>();
data
.
put
(
"rowSet"
,
QueryParamUtil
.
DateT
imeT
oString
(
pageRows
.
getItems
()));
data
.
put
(
"rowSet"
,
QueryParamUtil
.
DateToString
(
pageRows
.
getItems
()));
data
.
put
(
"pageNo"
,
pageNo
);
data
.
put
(
"pageNo"
,
pageNo
);
data
.
put
(
"pageSize"
,
pageSize
);
data
.
put
(
"pageSize"
,
pageSize
);
data
.
put
(
"pageCount"
,
pageCount
);
data
.
put
(
"pageCount"
,
pageCount
);
...
...
src_business_info/com/jf/common/CrawlData.java
View file @
6a837345
...
@@ -289,5 +289,4 @@ public class CrawlData {
...
@@ -289,5 +289,4 @@ public class CrawlData {
}
}
}
}
src_business_info/com/jf/common/CrawlDataXs.java
View file @
6a837345
...
@@ -299,7 +299,7 @@ public class CrawlDataXs {
...
@@ -299,7 +299,7 @@ public class CrawlDataXs {
Date
dBefore
=
new
Date
();
Date
dBefore
=
new
Date
();
Calendar
calendar
=
Calendar
.
getInstance
();
//得到日历
Calendar
calendar
=
Calendar
.
getInstance
();
//得到日历
calendar
.
setTime
(
dNow
);
//把当前时间赋给日历
calendar
.
setTime
(
dNow
);
//把当前时间赋给日历
calendar
.
add
(
Calendar
.
MONTH
,
-
3
);
//设置为前3月
calendar
.
add
(
Calendar
.
MONTH
,
-
4
);
//设置为前3月
dBefore
=
calendar
.
getTime
();
//得到前3月的时间
dBefore
=
calendar
.
getTime
();
//得到前3月的时间
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd"
);
//设置时间格式
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd"
);
//设置时间格式
return
sdf
.
format
(
dBefore
);
return
sdf
.
format
(
dBefore
);
...
...
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