Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bigdatainterservice
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
曹鹏
bigdatainterservice
Commits
748644a9
Commit
748644a9
authored
Apr 01, 2019
by
chentian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增轨迹追踪功能
parent
5fe9682d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
239 additions
and
11 deletions
+239
-11
src/main/java/com/founder/interservice/bkxx/controller/BkController.java
+26
-0
src/main/java/com/founder/interservice/bkxx/model/Bkxx.java
+3
-1
src/main/java/com/founder/interservice/bkxx/model/BkxxFilter.java
+2
-0
src/main/java/com/founder/interservice/bkxx/service/impl/BkServiceImpl.java
+1
-1
src/main/resources/mybatis/mapper/xzxt/BkxxMapper.xml
+6
-0
src/main/resources/static/css/bjzycx.css
+7
-2
src/main/resources/static/images/gjzz.png
+0
-0
src/main/resources/static/images/gjzzxxzs.png
+0
-0
src/main/resources/static/js/bkxxInsert.js
+4
-4
src/main/webapp/WEB-INF/jsp/bkxx/bkxxInsert.jsp
+1
-1
src/main/webapp/WEB-INF/jsp/bkxx/bkxxlist.jsp
+3
-2
src/main/webapp/WEB-INF/jsp/bkxx/gjzzInsert.jsp
+0
-0
src/main/webapp/WEB-INF/jsp/bkxx/gjzzlist.jsp
+186
-0
No files found.
src/main/java/com/founder/interservice/bkxx/controller/BkController.java
View file @
748644a9
...
...
@@ -40,6 +40,7 @@ public class BkController {
public
ModelAndView
toBshbkInsertJsp
(
Bkxx
bkxx
){
ModelAndView
modelAndView
=
new
ModelAndView
(
"bkxx/bkxxInsert"
);
modelAndView
.
addObject
(
"flag"
,
"bsh"
);
bkxx
.
setType
(
"01"
);
//布控
modelAndView
.
addObject
(
"bkxx"
,
bkxx
);
return
modelAndView
;
}
...
...
@@ -51,14 +52,39 @@ public class BkController {
public
ModelAndView
toSssbbkInsertJsp
(
Bkxx
bkxx
){
ModelAndView
modelAndView
=
new
ModelAndView
(
"bkxx/bkxxInsert"
);
modelAndView
.
addObject
(
"flag"
,
"sssb"
);
bkxx
.
setType
(
"01"
);
//布控
modelAndView
.
addObject
(
"bkxx"
,
bkxx
);
return
modelAndView
;
}
/**
* 轨迹追踪 新增界面
* @return
*/
@RequestMapping
(
value
=
"/toGjzzInsertJsp"
)
public
ModelAndView
toGjzzInsertJsp
(
Bkxx
bkxx
){
ModelAndView
modelAndView
=
new
ModelAndView
(
"bkxx/gjzzInsert"
);
bkxx
.
setType
(
"02"
);
//追踪
bkxx
.
setBklx
(
"gjzz"
);
//轨迹追踪
modelAndView
.
addObject
(
"bkxx"
,
bkxx
);
return
modelAndView
;
}
@RequestMapping
(
value
=
"/toBkxxListJsp"
)
public
String
toBkxxListJsp
(){
return
"/bkxx/bkxxlist"
;
}
/**
* 轨迹追踪 list界面
* @return
*/
@RequestMapping
(
value
=
"/toGjzzListJsp"
)
public
String
toGjzzListJsp
(){
return
"/bkxx/gjzzlist"
;
}
@RequestMapping
(
value
=
"/saveBkxx"
,
method
=
{
RequestMethod
.
GET
,
RequestMethod
.
POST
})
@ResponseBody
public
ResultVO
saveBkxx
(
Bkxx
bkxx
){
...
...
src/main/java/com/founder/interservice/bkxx/model/Bkxx.java
View file @
748644a9
...
...
@@ -39,11 +39,13 @@ public class Bkxx {
private
String
sqr_xm
;
private
String
sqr_jh
;
private
String
sqr_lxdh
;
private
String
bkzt
;
//布控状态,01开始,02已有结果返回,03
结束
private
String
bkzt
;
//布控状态,01开始,02已有结果返回,03
停止,04撤控
@JSONField
(
format
=
"yyyy-MM-dd"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
private
java
.
util
.
Date
djsj
;
//登记时间
private
Date
xgsj
;
//修改时间
private
String
bkqx
;
//布控期限
private
String
type
;
//区分布控和追踪,01表示布控,02表示追踪
}
src/main/java/com/founder/interservice/bkxx/model/BkxxFilter.java
View file @
748644a9
...
...
@@ -20,4 +20,6 @@ public class BkxxFilter {
private
String
bksj_start
;
private
String
bksj_end
;
private
String
bkztmc
;
private
String
type
;
//区分布控和追踪,01表示布控,02表示追踪
}
src/main/java/com/founder/interservice/bkxx/service/impl/BkServiceImpl.java
View file @
748644a9
...
...
@@ -121,7 +121,7 @@ public class BkServiceImpl implements BkService{
e
.
printStackTrace
();
result
.
put
(
"id"
,
"0"
);
result
.
put
(
"status"
,
ResultEnum
.
PARAM_ERROR
.
getCode
());
result
.
put
(
"message"
,
"
数据已存在,不可重复
!"
);
result
.
put
(
"message"
,
"
保存失败
!"
);
resultVO
=
ResultVOUtil
.
success
(
result
);
}
...
...
src/main/resources/mybatis/mapper/xzxt/BkxxMapper.xml
View file @
748644a9
...
...
@@ -27,6 +27,9 @@
<if
test=
"bkzt != null and bkzt != ''"
>
and t.BKZT = #{bkzt}
</if>
<if
test=
"type != null and type != ''"
>
and t.type = #{type}
</if>
</sql>
<insert
id=
"insertBkxx"
parameterType=
"com.founder.interservice.loginlog.model.LoginLog"
>
...
...
@@ -87,6 +90,9 @@
<if
test=
"bkdxlx != null and bkdxlx != '' "
>
and t.bkdxlx= #{bkdxlx, jdbcType=VARCHAR }
</if>
<if
test=
"type != null and type != '' "
>
and t.type= #{type, jdbcType=VARCHAR }
</if>
</where>
</select>
...
...
src/main/resources/static/css/bjzycx.css
View file @
748644a9
...
...
@@ -83,7 +83,7 @@ li {
margin-left
:
24px
;
background
:
url(../images/jzgjzs2.png)
;
}
.h_title5
,
.h_title6
,
.h_title8
{
.h_title5
,
.h_title6
,
.h_title8
,
.h_title9
{
float
:
left
;
width
:
328px
;
display
:
inline-block
;
...
...
@@ -104,10 +104,15 @@ li {
background
:
url(../images/clkkgj.png)
;
}
.h_title8
{
width
:
3
60
px
;
width
:
3
44
px
;
height
:
65px
;
background
:
url(../images/title_bkxxzs.png)
;
}
.h_title9
{
width
:
344px
;
height
:
65px
;
background
:
url(../images/gjzzxxzs.png)
;
}
.color1
{
color
:
#ec704c
;}
.datebox-h
{
width
:
228px
;
height
:
24px
;
line-height
:
24px
;}
/************menu*************/
...
...
src/main/resources/static/images/gjzz.png
0 → 100644
View file @
748644a9
3.45 KB
src/main/resources/static/images/gjzzxxzs.png
0 → 100644
View file @
748644a9
4.64 KB
src/main/resources/static/js/bkxxInsert.js
View file @
748644a9
...
...
@@ -120,12 +120,12 @@
data
:
$
(
'#form1'
).
serializeArray
(),
success
:
function
(
data
){
$
(
".zdy-loading"
).
hide
();
if
(
data
.
data
.
id
!=
null
){
$
.
messager
.
alert
({
title
:
'提示'
,
msg
:
'保存成功'
});
}
else
if
(
data
.
data
.
id
!=
"0"
){
if
(
data
.
data
.
id
==
"0"
){
$
.
messager
.
alert
({
title
:
'提示'
,
msg
:
'保存失败'
});
}
else
{
}
else
if
(
data
.
data
.
id
==
null
)
{
$
.
messager
.
alert
({
title
:
'提示'
,
msg
:
'数据已存在,不可重复提交'
});
}
else
{
$
.
messager
.
alert
({
title
:
'提示'
,
msg
:
'保存成功'
});
}
},
error
:
function
(
e
)
{
...
...
src/main/webapp/WEB-INF/jsp/bkxx/bkxxInsert.jsp
View file @
748644a9
...
...
@@ -180,7 +180,7 @@
<input type="hidden" id="bkdxlxmc" name="bkdxlxmc" />
<input type="hidden" id="asjbh" name="asjbh" value="${bkxx.asjbh}"/>
<input type="hidden" id="sqr_sfzh" name="sqr_sfzh" value="${bkxx.sqr_sfzh}"/>
<input type="hidden" id="type" name="type" value="${bkxx.type}"/>
</td>
</tr>
</tbody>
...
...
src/main/webapp/WEB-INF/jsp/bkxx/bkxxlist.jsp
View file @
748644a9
...
...
@@ -56,8 +56,8 @@
<tr>
<td
class=
"td_r"
style=
"width:10%;"
>
布控状态:
</td>
<td
colspan=
"5"
class=
"radil_td"
>
<input
type=
"radio"
name=
"bkzt"
value=
"0"
class=
"radio_inp"
/>
布控中
<input
type=
"radio"
name=
"bkzt"
value=
"
1
"
class=
"radio_inp"
/>
已撤销
<input
type=
"radio"
name=
"bkzt"
value=
"0
1
"
class=
"radio_inp"
/>
布控中
<input
type=
"radio"
name=
"bkzt"
value=
"
04
"
class=
"radio_inp"
/>
已撤销
</td>
</tr>
<tr>
...
...
@@ -107,6 +107,7 @@
"sqr_sfzh"
:
$
(
"#sqr_sfzh"
).
val
().
trim
(),
"sqr_jh"
:
$
(
"#sqr_jh"
).
val
().
trim
(),
"bkzt"
:
$
(
"input[name='bkzt']:checked"
).
val
(),
"type"
:
"01"
,
"yhCate"
:
"00"
,
"projectName"
:
"刑专智慧侦查脑图"
};
...
...
src/main/webapp/WEB-INF/jsp/bkxx/gjzzInsert.jsp
0 → 100644
View file @
748644a9
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/jsp/bkxx/gjzzlist.jsp
0 → 100644
View file @
748644a9
<
%@
page
contentType=
"text/html;charset=UTF-8"
language=
"java"
pageEncoding=
"UTF-8"
%
>
<
%@
taglib
uri=
"http://java.sun.com/jsp/jstl/core"
prefix=
"c"
%
>
<
%@
taglib
uri=
"http://www.atg.com/taglibs/json"
prefix=
"json"
%
>
<!doctype html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
轨迹追踪信息展示
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/css/easyui-new.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/css/font-awesome.min.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/css/bjzycx.css"
>
</head>
<body>
<div
id=
"nipic_search"
>
<div
id=
"header"
>
<h5
class=
"h_title9"
></h5>
</div>
<!--内容-->
<div
id=
"content_box0"
class=
"content_box"
>
<!--查询条件-->
<div
class=
"condition"
>
<h6
class=
"cx_t"
>
查询条件
</h6>
<table
style=
"width:100%;border-collapse: collapse;background-color: rgba(255,255,255,0.75);text-align:left;"
class=
"cx_table_tj"
>
<tr>
<td
class=
"td_r"
style=
"width:10%;"
>
案事件编号:
</td>
<td
style=
"width:20%;"
><input
name=
"asjbh"
id=
"asjbh"
/></td>
<td
class=
"td_r"
style=
"width:10%;"
>
追踪对象号码:
</td>
<td
style=
"width:20%;"
><input
name=
"bkdxhm"
id=
"bkdxhm"
/></td>
<td
class=
"td_r"
style=
"width:10%;"
>
追踪对象类型:
</td>
<td
style=
"width:20%;"
>
<select
name =
"bkdxlx"
id =
"bkdxlx"
style=
"height:26px;"
>
<option
value=
""
>
--请选择--
</option>
<option
value=
"001"
>
手机号码
</option>
<option
value=
"002"
>
QQ号码
</option>
<option
value=
"003"
>
微信ID
</option>
<option
value=
"004"
>
身份证号
</option>
<option
value=
"005"
>
车牌号
</option>
<option
value=
"006"
>
IMSI
</option>
<option
value=
"007"
>
IMEI
</option>
<option
value=
"009"
>
微信号码
</option>
</select>
</td>
</tr>
<tr>
<td
class=
"td_r"
style=
"width:10%;"
>
追踪人姓名:
</td>
<td
style=
"width:20%;"
><input
name=
"sqr_xm"
id=
"sqr_xm"
/></td>
<td
class=
"td_r"
style=
"width:15%;"
>
追踪人身份证号:
</td>
<td
style=
"width:20%;"
><input
name=
"sqr_sfzh"
id=
"sqr_sfzh"
/></td>
<td
class=
"td_r"
style=
"width:10%;"
>
追踪人警号:
</td>
<td
style=
"width:20%;"
><input
name=
"sqr_jh"
id=
"sqr_jh"
/></td>
</tr>
<tr>
<td
class=
"td_r"
style=
"width:10%;"
>
追踪状态:
</td>
<td
colspan=
"5"
class=
"radil_td"
>
<input
type=
"radio"
name=
"bkzt"
value=
"01"
class=
"radio_inp"
/>
追踪中
<input
type=
"radio"
name=
"bkzt"
value=
"04"
class=
"radio_inp"
/>
已撤销
</td>
</tr>
<tr>
<td
colspan=
"8"
style=
"text-align:center;"
>
<a
href=
"javascript:queryBkxxList();"
class=
"btn_cx"
>
查询
</a>
<a
href=
"javascript:clear();"
class=
"btn_qkcxtj"
>
重置
</a>
</td>
</tr>
</table>
</div>
<!--结果 table-->
<div
class=
"result"
style=
"padding-bottom:30px;width:100%;overflow:hidden;"
>
<table
class=
"easyui-datagrid"
id=
"recordLogTable"
style=
"border-top:1px dashed #ccc;"
width=
"100%"
>
<tbody>
<pre
id =
"resultView"
style =
"width:100%;border-collapse: collapse;background-color: rgba(255,255,255,0.75);text-align:left;"
>
</pre>
</tbody>
</table>
</div>
</div>
</div>
<script
type=
"text/javascript"
src=
"/js/jquery-1.11.3.js"
></script>
<script
type=
"text/javascript"
src=
"/js/jquery.easyui.min.js"
></script>
<script
type=
"text/javascript"
src=
"/js/easyui-lang-zh_CN.js"
></script>
<script>
$
(
function
(){
queryBkxxList
();
});
function
clear
(){
$
(
"#asjbh"
).
val
(
''
);
$
(
"#bkdxhm"
).
val
(
''
);
$
(
"#bkdxlx"
).
val
(
''
);
$
(
"#sqr_xm"
).
val
(
''
);
$
(
"#sqr_sfzh"
).
val
(
''
);
$
(
"#sqr_jh"
).
val
(
''
);
$
(
'input:radio[name="bkzt"]'
).
removeAttr
(
'checked'
);
}
function
queryBkxxList
(){
var
param
=
{
"asjbh"
:
$
(
"#asjbh"
).
val
().
trim
(),
"bkdxhm"
:
$
(
"#bkdxhm"
).
val
().
trim
(),
"bkdxlx"
:
$
(
"#bkdxlx"
).
val
().
trim
(),
"sqr_xm"
:
$
(
"#sqr_xm"
).
val
().
trim
(),
"sqr_sfzh"
:
$
(
"#sqr_sfzh"
).
val
().
trim
(),
"sqr_jh"
:
$
(
"#sqr_jh"
).
val
().
trim
(),
"bkzt"
:
$
(
"input[name='bkzt']:checked"
).
val
(),
"type"
:
"02"
,
"yhCate"
:
"00"
,
"projectName"
:
"刑专智慧侦查脑图"
};
var
table_title
=
[
{
title
:
"案事件编号"
,
field
:
"asjbh"
,
align
:
'center'
,
width
:
'12%'
},
{
title
:
"追踪对象号码"
,
field
:
"bkdxhm"
,
align
:
'center'
,
width
:
'10%'
},
{
title
:
"追踪对象类型"
,
field
:
"bkdxlxmc"
,
align
:
'center'
,
width
:
'8%'
},
{
title
:
"追踪人姓名"
,
field
:
"sqr_xm"
,
align
:
'center'
,
width
:
'10%'
},
{
title
:
"追踪人身份证号"
,
field
:
"sqr_sfzh"
,
align
:
'center'
,
width
:
'15%'
},
{
title
:
"追踪人警号"
,
field
:
"sqr_jh"
,
align
:
'center'
,
width
:
'7%'
},
{
title
:
"追踪开始时间"
,
field
:
"bksj_start"
,
align
:
'center'
,
width
:
'9%'
},
{
title
:
"追踪结束时间"
,
field
:
"bksj_end"
,
align
:
'center'
,
width
:
'9%'
},
{
title
:
"追踪状态"
,
field
:
"bkztmc"
,
align
:
'center'
,
width
:
'10%'
},
{
title
:
'操作'
,
field
:
'opt'
,
align
:
'center'
,
width
:
'10%'
,
formatter
:
function
(
value
,
row
,
index
)
{
var
str
=
""
;
if
(
row
.
bkzt
==
'01'
){
str
+=
'<span class="icon_chakan"><a href="javascript:ck(
\'
'
+
row
.
xxzjbh
+
'
\'
);" title="撤控">撤控</a></span>'
;
}
return
str
;
}
}
];
$
(
"#recordLogTable"
).
datagrid
({
url
:
"/queryBkxxList"
,
columns
:
[
table_title
],
queryParams
:
param
,
striped
:
true
,
fitColumns
:
true
,
singleSelect
:
true
,
pagination
:
true
,
nowrap
:
false
,
//设置是否换行 false换行 true表示不换行
pageSize
:
20
,
pageList
:
[
10
,
20
,
50
,
100
,
150
,
200
],
showFooter
:
true
,
pageNumber
:
1
,
loadFilter
:
function
(
data
){
return
data
;
}
});
}
function
ck
(
xxzjbh
){
//撤控操作
$
.
messager
.
confirm
(
"操作提示"
,
"您确定要撤控吗?"
,
function
(
data
)
{
if
(
data
)
{
$
.
ajax
({
url
:
"updateBkztByXxzjbh"
,
data
:{
xxzjbh
:
xxzjbh
,
bkzt
:
'04'
},
success
:
function
(
data
){
if
(
data
==
"success"
){
$
.
messager
.
alert
({
title
:
'提示信息'
,
msg
:
'撤控成功!'
,
fn
:
function
(){
window
.
location
.
reload
();
}
});
}
},
error
:
function
(
e
)
{
$
.
messager
.
show
({
title
:
'提示'
,
msg
:
"出错:"
+
e
});
}
})
}
});
}
</script>
</body>
</html>
\ No newline at end of file
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