Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
map-parent
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
常超
map-parent
Commits
e4ebb539
Commit
e4ebb539
authored
May 27, 2022
by
yangyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
涉案视频、串并案件提交
parent
e64b3855
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
5 deletions
+35
-5
service/publicapi/src/main/java/com/founder/publicapi/controller/AsjService/AsjController.java
+16
-1
service/publicapi/src/main/java/com/founder/publicapi/controller/SkDataOperation/SkRegionalsResultController.java
+4
-0
service/publicapi/src/main/java/com/founder/publicapi/controller/SkDataOperation/SkWeakTrailController.java
+4
-4
service/publicapi/src/main/resources/data/getSasp.json
+11
-0
No files found.
service/publicapi/src/main/java/com/founder/publicapi/controller/AsjService/AsjController.java
View file @
e4ebb539
...
@@ -10,6 +10,7 @@ import com.founder.commonutils.model.newPublicEntity.*;
...
@@ -10,6 +10,7 @@ import com.founder.commonutils.model.newPublicEntity.*;
import
com.founder.commonutils.model.vo.param.*
;
import
com.founder.commonutils.model.vo.param.*
;
import
com.founder.commonutils.util.JsonUtils
;
import
com.founder.publicapi.service.TbStAsjService
;
import
com.founder.publicapi.service.TbStAsjService
;
import
com.founder.servicebase.logs.OperLog
;
import
com.founder.servicebase.logs.OperLog
;
import
com.founder.servicebase.logs.OperationType
;
import
com.founder.servicebase.logs.OperationType
;
...
@@ -22,6 +23,7 @@ import org.springframework.util.StringUtils;
...
@@ -22,6 +23,7 @@ import org.springframework.util.StringUtils;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletRequest
;
import
java.io.IOException
;
import
java.util.HashMap
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -328,11 +330,24 @@ public class AsjController {
...
@@ -328,11 +330,24 @@ public class AsjController {
return
MapRestResult
.
build
(
200
,
"成功"
,
list
.
size
(),
list
);
return
MapRestResult
.
build
(
200
,
"成功"
,
list
.
size
(),
list
);
}
}
//
@OperLog(message = "重点场所",operation = OperationType.QUERY)
@OperLog
(
message
=
"重点场所"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"以案侦查-重点场所"
)
@ApiOperation
(
value
=
"以案侦查-重点场所"
)
@PostMapping
(
"/queryZdcs"
)
@PostMapping
(
"/queryZdcs"
)
public
MapRestResult
getZdcs
(
@RequestBody
SkPointlocationParams
params
){
public
MapRestResult
getZdcs
(
@RequestBody
SkPointlocationParams
params
){
List
<
Map
<
String
,
Object
>>
list
=
tbStAsjService
.
getZdcs
(
params
);
List
<
Map
<
String
,
Object
>>
list
=
tbStAsjService
.
getZdcs
(
params
);
return
MapRestResult
.
build
(
200
,
"成功"
,
list
.
size
(),
list
);
return
MapRestResult
.
build
(
200
,
"成功"
,
list
.
size
(),
list
);
}
}
@OperLog
(
message
=
"涉案视频"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"以案侦查-涉案视频"
)
@PostMapping
(
"/querySasp"
)
public
MapRestResult
querySasp
(
String
asjbh
){
JSONArray
jsonArray
=
null
;
try
{
jsonArray
=
JsonUtils
.
readJsonFromClassPath
(
"data/getSasp.json"
,
JSONArray
.
class
);
}
catch
(
IOException
e
)
{
e
.
printStackTrace
();
}
return
MapRestResult
.
build
(
200
,
"成功"
,
jsonArray
.
size
(),
jsonArray
);
}
}
}
service/publicapi/src/main/java/com/founder/publicapi/controller/SkDataOperation/SkRegionalsResultController.java
View file @
e4ebb539
...
@@ -146,6 +146,10 @@ public class SkRegionalsResultController extends ApiController implements ExcelC
...
@@ -146,6 +146,10 @@ public class SkRegionalsResultController extends ApiController implements ExcelC
// 获取任务结果 阿里云读取json线上读取接口
// 获取任务结果 阿里云读取json线上读取接口
jsonArray
=
JsonUtils
.
readJsonFromClassPath
(
"data/getRxhs.json"
,
JSONArray
.
class
);
jsonArray
=
JsonUtils
.
readJsonFromClassPath
(
"data/getRxhs.json"
,
JSONArray
.
class
);
break
;
//时空徘徊人像
break
;
//时空徘徊人像
/*case "skpz_rx":
// 获取任务结果 阿里云读取json线上读取接口
jsonArray = JsonUtils.readJsonFromClassPath("data/getRxhs.json", JSONArray.class);
break;//时空碰撞人像*/
}
}
if
(
jsonArray
.
size
()>
0
)
{
if
(
jsonArray
.
size
()>
0
)
{
...
...
service/publicapi/src/main/java/com/founder/publicapi/controller/SkDataOperation/SkWeakTrailController.java
View file @
e4ebb539
...
@@ -35,7 +35,7 @@ public class SkWeakTrailController extends ApiController{
...
@@ -35,7 +35,7 @@ public class SkWeakTrailController extends ApiController{
@PostMapping
(
"save"
)
@PostMapping
(
"save"
)
@ApiOperation
(
value
=
"新增轨迹信息"
)
@ApiOperation
(
value
=
"新增轨迹信息"
)
//
@OperLog(message = "新增轨迹信息", operation = OperationType.ADD)
@OperLog
(
message
=
"新增轨迹信息"
,
operation
=
OperationType
.
ADD
)
public
MapRestResult
save
(
@RequestBody
SkWeakTrail
skWeakTrail
){
public
MapRestResult
save
(
@RequestBody
SkWeakTrail
skWeakTrail
){
skWeakTrail
.
setId
(
KeyUtil
.
getUUIDKey
(
"RGJ"
));
skWeakTrail
.
setId
(
KeyUtil
.
getUUIDKey
(
"RGJ"
));
...
@@ -49,7 +49,7 @@ public class SkWeakTrailController extends ApiController{
...
@@ -49,7 +49,7 @@ public class SkWeakTrailController extends ApiController{
@PostMapping
(
"update"
)
@PostMapping
(
"update"
)
@ApiOperation
(
value
=
"修改弱轨迹人员信息"
)
@ApiOperation
(
value
=
"修改弱轨迹人员信息"
)
//
@OperLog(message = "修改弱轨迹人员信息", operation = OperationType.UPDATE)
@OperLog
(
message
=
"修改弱轨迹人员信息"
,
operation
=
OperationType
.
UPDATE
)
public
MapRestResult
update
(
@RequestBody
SkWeakTrail
skWeakTrail
){
public
MapRestResult
update
(
@RequestBody
SkWeakTrail
skWeakTrail
){
boolean
update
=
skWeakTrailService
.
updateById
(
skWeakTrail
);
boolean
update
=
skWeakTrailService
.
updateById
(
skWeakTrail
);
if
(
update
)
{
if
(
update
)
{
...
@@ -61,7 +61,7 @@ public class SkWeakTrailController extends ApiController{
...
@@ -61,7 +61,7 @@ public class SkWeakTrailController extends ApiController{
@PostMapping
(
"delete"
)
@PostMapping
(
"delete"
)
@ApiOperation
(
value
=
"删除弱轨迹人员信息"
)
@ApiOperation
(
value
=
"删除弱轨迹人员信息"
)
//
@OperLog(message = "删除弱轨迹人员信息", operation = OperationType.DELETE)
@OperLog
(
message
=
"删除弱轨迹人员信息"
,
operation
=
OperationType
.
DELETE
)
public
MapRestResult
deleteById
(
@RequestBody
SkWeakTrailParam
skWeakTrailParam
)
{
public
MapRestResult
deleteById
(
@RequestBody
SkWeakTrailParam
skWeakTrailParam
)
{
SkWeakTrail
skWeakTrail
=
new
SkWeakTrail
();
SkWeakTrail
skWeakTrail
=
new
SkWeakTrail
();
skWeakTrail
.
setId
(
skWeakTrailParam
.
getId
());
skWeakTrail
.
setId
(
skWeakTrailParam
.
getId
());
...
@@ -75,7 +75,7 @@ public class SkWeakTrailController extends ApiController{
...
@@ -75,7 +75,7 @@ public class SkWeakTrailController extends ApiController{
@PostMapping
(
"detail"
)
@PostMapping
(
"detail"
)
@ApiOperation
(
value
=
"查询弱轨迹人员详情信息"
)
@ApiOperation
(
value
=
"查询弱轨迹人员详情信息"
)
//
@OperLog(message = "查询弱轨迹人员详情信息", operation = OperationType.QUERY)
@OperLog
(
message
=
"查询弱轨迹人员详情信息"
,
operation
=
OperationType
.
QUERY
)
public
MapRestResult
detail
(
@RequestBody
SkWeakTrailParam
skWeakTrailParam
)
{
public
MapRestResult
detail
(
@RequestBody
SkWeakTrailParam
skWeakTrailParam
)
{
SkWeakTrail
byId
=
skWeakTrailService
.
getById
(
skWeakTrailParam
.
getId
());
SkWeakTrail
byId
=
skWeakTrailService
.
getById
(
skWeakTrailParam
.
getId
());
if
(
byId
==
null
)
{
if
(
byId
==
null
)
{
...
...
service/publicapi/src/main/resources/data/getSasp.json
0 → 100644
View file @
e4ebb539
[
{
"time"
:
"2022-03-01 10:57:08"
,
"img"
:
"http://47.92.48.137:1008/images/5.jpg"
},
{
"time"
:
"2022-03-01 11:08:25"
,
"img"
:
"http://47.92.48.137:1008/images/5.jpg"
}
]
\ 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