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
9ee94554
Commit
9ee94554
authored
Aug 26, 2022
by
宋珺琪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加各个模块的统计计数接口
parent
68b30b00
Show whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
135 additions
and
61 deletions
+135
-61
common/service_base/src/main/java/com/founder/servicebase/controller/SkDictionaryController.java
+2
-2
common/service_base/src/main/java/com/founder/servicebase/controller/SysUserController.java
+2
-2
common/service_base/src/main/java/com/founder/servicebase/logs/LogMoudleCount.java
+24
-0
common/service_base/src/main/java/com/founder/servicebase/logs/controller/SkSysLogController.java
+14
-0
common/service_base/src/main/java/com/founder/servicebase/logs/mapper/mysqlMapper/SkSysLogMapper.java
+3
-0
common/service_base/src/main/java/com/founder/servicebase/logs/mapper/mysqlMapper/SkSysLogMapper.xml
+14
-0
common/service_base/src/main/java/com/founder/servicebase/logs/service/SkSysLogService.java
+3
-0
common/service_base/src/main/java/com/founder/servicebase/logs/service/impl/SkSysLogServiceImpl.java
+5
-0
service/publicapi/src/main/java/com/founder/publicapi/controller/AsjService/AsjController.java
+10
-10
service/publicapi/src/main/java/com/founder/publicapi/controller/SkDataOperation/SkPointlocationController.java
+4
-4
service/publicapi/src/main/java/com/founder/publicapi/controller/SkDataOperation/SkRegionalsPersonController.java
+2
-2
service/publicapi/src/main/java/com/founder/publicapi/controller/SkDataOperation/SkRegionalsResultController.java
+6
-6
service/publicapi/src/main/java/com/founder/publicapi/controller/SkDataOperation/SkRegionalsTaskController.java
+6
-6
service/publicapi/src/main/java/com/founder/publicapi/controller/SkDataOperation/SkRelatedResultAllController.java
+2
-2
service/publicapi/src/main/java/com/founder/publicapi/controller/SkDataOperation/SkRelatedResultController.java
+2
-2
service/publicapi/src/main/java/com/founder/publicapi/controller/SkDataOperation/SkRxController.java
+2
-2
service/publicapi/src/main/java/com/founder/publicapi/controller/SkDataOperation/SkTrailController.java
+4
-4
service/publicapi/src/main/java/com/founder/publicapi/controller/SkDataOperation/SkWeakTrailController.java
+2
-2
service/publicapi/src/main/java/com/founder/publicapi/controller/SkModelService/SkGjGlAjController.java
+5
-0
service/publicapi/src/main/java/com/founder/publicapi/controller/SkModelService/SkTrailController.java
+8
-7
service/publicapi/src/main/java/com/founder/publicapi/controller/SkModelService/SkbsController.java
+5
-0
service/publicapi/src/main/java/com/founder/publicapi/controller/ZtypService/ZtypController.java
+10
-10
No files found.
common/service_base/src/main/java/com/founder/servicebase/controller/SkDictionaryController.java
View file @
9ee94554
...
...
@@ -98,8 +98,8 @@ public class SkDictionaryController implements ExcelControllerInterface {
* 查询列表(分页)
*/
@PostMapping
(
"query"
)
@ApiOperation
(
value
=
"查询字典列表信息"
)
@OperLog
(
message
=
"查询字典列表信息"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"
以图研判_
查询字典列表信息"
)
@OperLog
(
message
=
"
以图研判_
查询字典列表信息"
,
operation
=
OperationType
.
QUERY
)
public
MapRestResult
query
(
@RequestBody
SkDictionaryParam
skDictionaryParam
)
{
Page
page
=
new
Page
(
skDictionaryParam
.
getPage
(),
skDictionaryParam
.
getPageSize
());
QueryWrapper
queryWrapper
=
new
QueryWrapper
();
...
...
common/service_base/src/main/java/com/founder/servicebase/controller/SysUserController.java
View file @
9ee94554
...
...
@@ -89,8 +89,8 @@ public class SysUserController extends ApiController {
}
@ApiOperation
(
value
=
"单点登录"
)
@OperLog
(
message
=
"单点登录"
,
operation
=
OperationType
.
DDLOGIN
)
@ApiOperation
(
value
=
"
以案侦查_
单点登录"
)
@OperLog
(
message
=
"
以案侦查_
单点登录"
,
operation
=
OperationType
.
DDLOGIN
)
@PostMapping
(
"/loginByZjhm"
)
public
MapRestResult
loginByZjhm
(
@RequestBody
SysUser
user
,
HttpServletRequest
request
)
throws
Exception
{
//使用AES-128-CBC加密模式
...
...
common/service_base/src/main/java/com/founder/servicebase/logs/LogMoudleCount.java
0 → 100644
View file @
9ee94554
package
com
.
founder
.
servicebase
.
logs
;
import
lombok.Data
;
@Data
public
class
LogMoudleCount
{
/**
* 计数
*/
private
Integer
count
;
/**
* 模块
*/
private
String
moudle
;
public
LogMoudleCount
()
{
}
public
LogMoudleCount
(
Integer
count
,
String
moudle
)
{
this
.
count
=
count
;
this
.
moudle
=
moudle
;
}
}
common/service_base/src/main/java/com/founder/servicebase/logs/controller/SkSysLogController.java
View file @
9ee94554
...
...
@@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import
com.founder.commonutils.model.newPublicEntity.MapRestResult
;
import
com.founder.commonutils.util.DateUtil
;
import
com.founder.commonutils.util.StringUtil
;
import
com.founder.servicebase.logs.LogMoudleCount
;
import
com.founder.servicebase.logs.SkSysLog
;
import
com.founder.servicebase.logs.param.LogCountParam
;
import
com.founder.servicebase.logs.param.LogParam
;
...
...
@@ -82,4 +83,17 @@ public class SkSysLogController {
return
new
MapRestResult
(
service
.
countTotal
(
param
));
}
/**
* 各个模块接口的统计计数
* @param param
* @return
* @throws ParseException
*/
@PostMapping
(
"countMoudle"
)
public
MapRestResult
countMoudle
(
@RequestBody
LogCountParam
param
)
throws
ParseException
{
List
<
LogMoudleCount
>
logMoudleCounts
=
service
.
countMoudle
(
param
);
return
new
MapRestResult
(
200
,
"ok"
,
logMoudleCounts
.
size
(),
logMoudleCounts
);
}
}
common/service_base/src/main/java/com/founder/servicebase/logs/mapper/mysqlMapper/SkSysLogMapper.java
View file @
9ee94554
...
...
@@ -2,6 +2,7 @@ package com.founder.servicebase.logs.mapper.mysqlMapper;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.founder.servicebase.logs.LogCount
;
import
com.founder.servicebase.logs.LogMoudleCount
;
import
com.founder.servicebase.logs.SkSysLog
;
import
com.founder.servicebase.logs.param.LogCountParam
;
import
org.apache.ibatis.annotations.Mapper
;
...
...
@@ -17,4 +18,6 @@ public interface SkSysLogMapper extends BaseMapper<SkSysLog> {
public
List
<
LogCount
>
countTotal
(
LogCountParam
param
);
LogCount
countOne
(
@Param
(
"date"
)
String
date
);
List
<
LogMoudleCount
>
countMoudle
(
LogCountParam
param
);
}
common/service_base/src/main/java/com/founder/servicebase/logs/mapper/mysqlMapper/SkSysLogMapper.xml
View file @
9ee94554
...
...
@@ -26,6 +26,20 @@
and str_to_date(#{date},'%Y-%m-%d')
<![CDATA[ = ]]>
date_format(createDate,'%Y-%m-%d')
</if>
</select>
<select
id=
"countMoudle"
resultType=
"com.founder.servicebase.logs.LogMoudleCount"
parameterType=
"com.founder.servicebase.logs.param.LogCountParam"
>
select COUNT(*) as count ,SUBSTRING_INDEX(message,'_',1) as moudle from sk_sys_log
where
SUBSTRING_INDEX(message,'_',1) in ('以人侦查','以案侦查','以车侦查','以图研判','区域管控','态势分析','轨迹分析','主题研判','点位校验')
<if
test=
"startTime!=null and startTime!='' "
>
and str_to_date(#{startTime},'%Y-%m-%d')
<![CDATA[ <= ]]>
date_format(createDate,'%Y-%m-%d')
</if>
<if
test=
"endTime!=null and endTime!='' "
>
and str_to_date(#{endTime},'%Y-%m-%d')
<![CDATA[ >= ]]>
date_format(createDate,'%Y-%m-%d')
</if>
and
message is not NULL group by SUBSTRING_INDEX(message,'_',1)
</select>
</mapper>
common/service_base/src/main/java/com/founder/servicebase/logs/service/SkSysLogService.java
View file @
9ee94554
...
...
@@ -3,6 +3,7 @@ package com.founder.servicebase.logs.service;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.founder.servicebase.logs.LogCount
;
import
com.founder.servicebase.logs.LogMoudleCount
;
import
com.founder.servicebase.logs.SkSysLog
;
import
com.founder.servicebase.logs.param.LogCountParam
;
...
...
@@ -11,4 +12,6 @@ import java.util.List;
public
interface
SkSysLogService
extends
IService
<
SkSysLog
>
{
List
<
LogCount
>
countTotal
(
LogCountParam
param
)
throws
ParseException
;
List
<
LogMoudleCount
>
countMoudle
(
LogCountParam
param
);
}
common/service_base/src/main/java/com/founder/servicebase/logs/service/impl/SkSysLogServiceImpl.java
View file @
9ee94554
...
...
@@ -3,6 +3,7 @@ package com.founder.servicebase.logs.service.impl;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.founder.servicebase.logs.LogCount
;
import
com.founder.servicebase.logs.LogMoudleCount
;
import
com.founder.servicebase.logs.SkSysLog
;
import
com.founder.servicebase.logs.mapper.mysqlMapper.SkSysLogMapper
;
import
com.founder.servicebase.logs.param.LogCountParam
;
...
...
@@ -38,6 +39,10 @@ public class SkSysLogServiceImpl extends ServiceImpl<SkSysLogMapper, SkSysLog> i
return
all
;
}
@Override
public
List
<
LogMoudleCount
>
countMoudle
(
LogCountParam
param
)
{
return
baseMapper
.
countMoudle
(
param
);
}
/**
...
...
service/publicapi/src/main/java/com/founder/publicapi/controller/AsjService/AsjController.java
View file @
9ee94554
...
...
@@ -39,8 +39,8 @@ public class AsjController {
@Autowired
private
TbStAsjService
tbStAsjService
;
@OperLog
(
message
=
"案件上图/同类案件(带分页)"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"案件上图/同类案件(带分页)"
)
@OperLog
(
message
=
"
以案侦查_
案件上图/同类案件(带分页)"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"
以案侦查_
案件上图/同类案件(带分页)"
)
@PostMapping
(
"query"
)
public
MapRestResult
selectAsjxxRlt
(
@RequestBody
TbStAsjParm
tbStAsjParm
,
HttpServletRequest
request
)
{
//获取request中的用户信息
...
...
@@ -54,8 +54,8 @@ public class AsjController {
return
MapRestResult
.
build
(
200
,
"成功获取案件信息"
,
total
,
asjList
);
}
@OperLog
(
message
=
"根据案件编号修改经纬度"
,
operation
=
OperationType
.
UPDATE
)
@ApiOperation
(
value
=
"根据案件编号修改经纬度"
)
@OperLog
(
message
=
"
点位校验_
根据案件编号修改经纬度"
,
operation
=
OperationType
.
UPDATE
)
@ApiOperation
(
value
=
"
点位校验_
根据案件编号修改经纬度"
)
@PostMapping
(
"update"
)
public
MapRestResult
UpdateAsjxxByAsjbh
(
@RequestBody
TbStAsj
tbStAsj
)
{
try
{
...
...
@@ -146,24 +146,24 @@ public class AsjController {
return
MapRestResult
.
build
(
200
,
"成功"
,
a
.
size
(),
a
);
}
@OperLog
(
message
=
"全省案件/全国案件"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"全省案件/全国案件"
)
@OperLog
(
message
=
"
以车侦查_
全省案件/全国案件"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"
以车侦查_
全省案件/全国案件"
)
@PostMapping
(
"/qsOrQgAjxx"
)
public
MapRestResult
qsAjxx
(
@RequestBody
TbXwZbfzxyrParm
params
)
{
List
<
Map
<
String
,
Object
>>
asjList
=
tbStAsjService
.
getAsjxxByZjhm
(
params
.
getZjhm
(),
params
.
getFlag
());
return
MapRestResult
.
build
(
200
,
"成功"
,
asjList
.
size
(),
asjList
);
}
@OperLog
(
message
=
"重点人员"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"以案侦查-周边快查-重点人员"
)
@OperLog
(
message
=
"
以案侦查_
重点人员"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"以案侦查
_以案侦查
-周边快查-重点人员"
)
@PostMapping
(
"/queryZdry"
)
public
MapRestResult
getCzzdry
(
@RequestBody
ZdryParams
params
){
List
<
ZdryResult
>
list
=
tbStAsjService
.
getZdry
(
params
);
return
MapRestResult
.
build
(
200
,
"成功"
,
list
.
size
(),
list
);
}
@OperLog
(
message
=
"重点场所"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"以案侦查-重点场所"
)
@OperLog
(
message
=
"
以案侦查_
重点场所"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"以案侦查
_以案侦查
-重点场所"
)
@PostMapping
(
"/queryZdcs"
)
public
MapRestResult
getZdcs
(
@RequestBody
SkPointlocationParams
params
){
List
<
Map
<
String
,
Object
>>
list
=
tbStAsjService
.
getZdcs
(
params
);
...
...
service/publicapi/src/main/java/com/founder/publicapi/controller/SkDataOperation/SkPointlocationController.java
View file @
9ee94554
...
...
@@ -128,8 +128,8 @@ public class SkPointlocationController extends ApiController implements ExcelCon
* 查询列表(分页)
*/
@PostMapping
(
"query"
)
@ApiOperation
(
value
=
"查询点位列表信息"
)
@OperLog
(
message
=
"查询点位列表信息"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"
态势分析_
查询点位列表信息"
)
@OperLog
(
message
=
"
态势分析_
查询点位列表信息"
,
operation
=
OperationType
.
QUERY
)
public
MapRestResult
query
(
@RequestBody
SkPointlocationParam
skPointlocationParam
)
{
//分页
Page
page
=
new
Page
(
skPointlocationParam
.
getPage
(),
skPointlocationParam
.
getPageSize
());
...
...
@@ -176,8 +176,8 @@ public class SkPointlocationController extends ApiController implements ExcelCon
* 查询分组
*/
@PostMapping
(
"queryGroupby"
)
@ApiOperation
(
value
=
"查询点位分组信息"
)
@OperLog
(
message
=
"查询点位分组信息"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"
以案侦查_
查询点位分组信息"
)
@OperLog
(
message
=
"
以案侦查_
查询点位分组信息"
,
operation
=
OperationType
.
QUERY
)
public
MapRestResult
queryGroupby
(
@RequestBody
SkPointlocationParams
skPointlocationParams
)
{
QueryWrapper
queryWrapper
=
new
QueryWrapper
();
queryWrapper
.
eq
(
"isDeleted"
,
"0"
);
...
...
service/publicapi/src/main/java/com/founder/publicapi/controller/SkDataOperation/SkRegionalsPersonController.java
View file @
9ee94554
...
...
@@ -125,8 +125,8 @@ public class SkRegionalsPersonController extends ApiController implements ExcelC
* 查询人员列表信息(分页)
*/
@PostMapping
(
"query"
)
@ApiOperation
(
value
=
"查询人员列表信息"
)
@OperLog
(
message
=
"查询人员列表信息"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"
以案侦查_
查询人员列表信息"
)
@OperLog
(
message
=
"
以案侦查_
查询人员列表信息"
,
operation
=
OperationType
.
QUERY
)
public
MapRestResult
query
(
@RequestBody
SkRegionalsPersonParam
skRegionalsDetailParam
)
{
// 阿里云用dev 公安网用prod
if
(
"dev"
.
equals
(
environment
)){
...
...
service/publicapi/src/main/java/com/founder/publicapi/controller/SkDataOperation/SkRegionalsResultController.java
View file @
9ee94554
...
...
@@ -101,8 +101,8 @@ public class SkRegionalsResultController extends ApiController implements ExcelC
}
@PostMapping
(
"saveResult"
)
@ApiOperation
(
value
=
"新增结果信息"
)
@OperLog
(
message
=
"新增结果信息"
,
operation
=
OperationType
.
ADD
)
@ApiOperation
(
value
=
"
以案侦查_
新增结果信息"
)
@OperLog
(
message
=
"
以案侦查_
新增结果信息"
,
operation
=
OperationType
.
ADD
)
public
MapRestResult
saveResult
(
@RequestBody
SkRegionalsResultAllParam
params
,
HttpServletRequest
request
)
throws
IOException
{
// 1.先通过任务编号查看该任务是否已有结果
QueryWrapper
queryWrapper
=
new
QueryWrapper
();
...
...
@@ -375,9 +375,9 @@ public class SkRegionalsResultController extends ApiController implements ExcelC
}
@ApiOperation
(
value
=
"获取任务结果数据"
)
@ApiOperation
(
value
=
"
以图研判_
获取任务结果数据"
)
@PostMapping
(
"/queryRegionalsTasksResults"
)
//@OperLog(message = "
获取任务结果数据", operation = OperationType.QUERY)
@OperLog
(
message
=
"以图研判_
获取任务结果数据"
,
operation
=
OperationType
.
QUERY
)
public
MapRestResult
selecteRegionalsTasksResults
(
@RequestBody
SkRegionalsTaskResultParamAll
skRegionalsTaskResultParamAll
)
{
List
<
SkRegionalsResultAll
>
listResult
=
new
ArrayList
<>();
Integer
total
=
0
;
...
...
@@ -433,8 +433,8 @@ public class SkRegionalsResultController extends ApiController implements ExcelC
}
@PostMapping
(
"queryRegionalsTasksResultsFl"
)
@ApiOperation
(
value
=
"查询结果列表信息分类"
)
@OperLog
(
message
=
"查询结果列表信息分类"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"
以图研判_
查询结果列表信息分类"
)
@OperLog
(
message
=
"
以图研判_
查询结果列表信息分类"
,
operation
=
OperationType
.
QUERY
)
public
MapRestResult
queryResultFl
(
@RequestBody
SkRegionalsTaskResultParamAll
skRegionalsTaskResultParamAll
)
{
List
<
Map
<
String
,
Object
>>
listResultAllNew
=
new
ArrayList
<>();
List
<
SkRegionalsResultFl
>
listResult
=
new
ArrayList
<>();
...
...
service/publicapi/src/main/java/com/founder/publicapi/controller/SkDataOperation/SkRegionalsTaskController.java
View file @
9ee94554
...
...
@@ -159,8 +159,8 @@ public class SkRegionalsTaskController extends ApiController implements ExcelCon
* 查询任务列表信息(分页)
*/
@PostMapping
(
"query"
)
@ApiOperation
(
value
=
"查询任务列表信息"
)
@OperLog
(
message
=
"查询任务列表信息"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"
以图研判_
查询任务列表信息"
)
@OperLog
(
message
=
"
以图研判_
查询任务列表信息"
,
operation
=
OperationType
.
QUERY
)
public
MapRestResult
query
(
@RequestBody
SkRegionalsTaskParam
skRegionalsDetailParam
)
{
// 分页
skRegionalsDetailParam
.
setPage
((
skRegionalsDetailParam
.
getPage
()
-
1
)
*
skRegionalsDetailParam
.
getPageSize
());
...
...
@@ -200,8 +200,8 @@ public class SkRegionalsTaskController extends ApiController implements ExcelCon
}
}
@OperLog
(
message
=
"发起任务接口"
,
operation
=
OperationType
.
ADD
)
@ApiOperation
(
value
=
"发起任务接口"
)
@OperLog
(
message
=
"
以案侦查_
发起任务接口"
,
operation
=
OperationType
.
ADD
)
@ApiOperation
(
value
=
"
以案侦查_
发起任务接口"
)
@PostMapping
(
"/saveRegionalsTask"
)
public
MapRestResult
sendRegionalsTask
(
@RequestBody
RegionalsTaskParams
regionalsTask
,
HttpServletRequest
request
)
{
String
taskId
=
""
;
// 任务id
...
...
@@ -274,8 +274,8 @@ public class SkRegionalsTaskController extends ApiController implements ExcelCon
return
MapRestResult
.
build
(
200
,
"发送任务成功"
,
"1"
,
regionalsTask
.
getTaskId
());
}
@OperLog
(
message
=
"区域回显"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"区域回显"
)
@OperLog
(
message
=
"
以图研判_
区域回显"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"
以图研判_
区域回显"
)
@PostMapping
(
"/queryRegionals"
)
public
MapRestResult
queryRegionals
(
@RequestBody
RegionalsTaskParams
regionalsTask
)
{
// 通过任务编号拿到区域集合 用于回显
...
...
service/publicapi/src/main/java/com/founder/publicapi/controller/SkDataOperation/SkRelatedResultAllController.java
View file @
9ee94554
...
...
@@ -118,8 +118,8 @@ public class SkRelatedResultAllController extends ApiController implements Excel
* 查询关联关系列表信息(分页)
*/
@PostMapping
(
"query"
)
@ApiOperation
(
value
=
"查询关联关系列表信息"
)
@OperLog
(
message
=
"查询关联关系列表信息"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"
以人侦查_
查询关联关系列表信息"
)
@OperLog
(
message
=
"
以人侦查_
查询关联关系列表信息"
,
operation
=
OperationType
.
QUERY
)
public
MapRestResult
query
(
@RequestBody
SkRelatedResultAllParam
skRegionalsDetailParam
)
{
//分页
Page
page
=
new
Page
(
skRegionalsDetailParam
.
getPage
(),
skRegionalsDetailParam
.
getPageSize
());
...
...
service/publicapi/src/main/java/com/founder/publicapi/controller/SkDataOperation/SkRelatedResultController.java
View file @
9ee94554
...
...
@@ -51,8 +51,8 @@ public class SkRelatedResultController extends ApiController {
* 查询列表
*/
@PostMapping
(
"query"
)
@ApiOperation
(
value
=
"查询关联关系列表信息"
)
@OperLog
(
message
=
"查询关联关系列表信息"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"
以车侦查_
查询关联关系列表信息"
)
@OperLog
(
message
=
"
以车侦查_
查询关联关系列表信息"
,
operation
=
OperationType
.
QUERY
)
public
MapRestResult
query
(
@RequestBody
SkRelatedResultParam
param
)
throws
UnsupportedEncodingException
{
if
(
"dev"
.
equals
(
environment
))
{
...
...
service/publicapi/src/main/java/com/founder/publicapi/controller/SkDataOperation/SkRxController.java
View file @
9ee94554
...
...
@@ -23,8 +23,8 @@ import java.io.IOException;
public
class
SkRxController
extends
ApiController
{
@PostMapping
(
"queryRxbd"
)
@ApiOperation
(
value
=
"查询人像比对信息"
)
@OperLog
(
message
=
"查询人像比对信息"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"
以人侦查_
查询人像比对信息"
)
@OperLog
(
message
=
"
以人侦查_
查询人像比对信息"
,
operation
=
OperationType
.
QUERY
)
public
MapRestResult
queryRxgj
(
SkTrailParam
sktrailParam
)
{
JSONArray
jsonArray
=
new
JSONArray
();
try
{
...
...
service/publicapi/src/main/java/com/founder/publicapi/controller/SkDataOperation/SkTrailController.java
View file @
9ee94554
...
...
@@ -174,8 +174,8 @@ public class SkTrailController extends ApiController implements ExcelControllerI
* 查询列表(分页)
*/
@PostMapping
(
"query"
)
@ApiOperation
(
value
=
"查询轨迹列表信息"
)
@OperLog
(
message
=
"查询轨迹列表信息"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"
以人侦查_
查询轨迹列表信息"
)
@OperLog
(
message
=
"
以人侦查_
查询轨迹列表信息"
,
operation
=
OperationType
.
QUERY
)
public
MapRestResult
query
(
@RequestBody
SkTrailParam
sktrailParam
)
{
//分页
Page
page
=
new
Page
(
sktrailParam
.
getPage
(),
sktrailParam
.
getPageSize
());
...
...
@@ -352,8 +352,8 @@ public class SkTrailController extends ApiController implements ExcelControllerI
}
@PostMapping
(
"queryRxgj"
)
@ApiOperation
(
value
=
"查询人像轨迹信息"
)
@OperLog
(
message
=
"查询人像轨迹信息"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"
以人侦查_
查询人像轨迹信息"
)
@OperLog
(
message
=
"
以人侦查_
查询人像轨迹信息"
,
operation
=
OperationType
.
QUERY
)
public
MapRestResult
queryRxgj
(
SkTrailParam
sktrailParam
)
{
//分页
Page
page
=
new
Page
(
sktrailParam
.
getPage
(),
sktrailParam
.
getPageSize
());
...
...
service/publicapi/src/main/java/com/founder/publicapi/controller/SkDataOperation/SkWeakTrailController.java
View file @
9ee94554
...
...
@@ -86,8 +86,8 @@ public class SkWeakTrailController extends ApiController{
}
@PostMapping
(
"query"
)
@ApiOperation
(
value
=
"查询弱轨迹人员列表信息"
)
@OperLog
(
message
=
"查询弱轨迹人员列表信息"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"
以案侦查_
查询弱轨迹人员列表信息"
)
@OperLog
(
message
=
"
以案侦查_
查询弱轨迹人员列表信息"
,
operation
=
OperationType
.
QUERY
)
public
MapRestResult
query
(
@RequestBody
SkWeakTrailParam
skWeakTrailParam
)
{
// 分页
Page
page
=
new
Page
(
skWeakTrailParam
.
getPage
(),
skWeakTrailParam
.
getPageSize
());
...
...
service/publicapi/src/main/java/com/founder/publicapi/controller/SkModelService/SkGjGlAjController.java
View file @
9ee94554
...
...
@@ -3,6 +3,9 @@ package com.founder.publicapi.controller.SkModelService;
import
com.founder.commonutils.model.newPublicEntity.MapRestResult
;
import
com.founder.commonutils.model.vo.param.SkGjglajParam
;
import
com.founder.publicapi.service.SkGjGlAjService
;
import
com.founder.servicebase.logs.OperLog
;
import
com.founder.servicebase.logs.OperationType
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
...
...
@@ -21,6 +24,8 @@ public class SkGjGlAjController {
* 轨迹关联案件
* */
@PostMapping
(
"/getSkgjglaj"
)
@ApiOperation
(
value
=
"以人侦查_周边案件"
)
@OperLog
(
message
=
"以人侦查_周边案件"
,
operation
=
OperationType
.
ADD
)
public
MapRestResult
getGjGlAj
(
@RequestBody
SkGjglajParam
receiving
){
return
skGjGlAjService
.
getSkGjGlAj
(
receiving
);
...
...
service/publicapi/src/main/java/com/founder/publicapi/controller/SkModelService/SkTrailController.java
View file @
9ee94554
...
...
@@ -33,8 +33,8 @@ public class SkTrailController extends ApiController {
* 轨迹疑似停留点
*/
@PostMapping
(
"getTrackYstldResult"
)
@ApiOperation
(
value
=
"轨迹疑似停留点"
)
@OperLog
(
message
=
"轨迹疑似停留点"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"
以人侦查_
轨迹疑似停留点"
)
@OperLog
(
message
=
"
以人侦查_
轨迹疑似停留点"
,
operation
=
OperationType
.
QUERY
)
public
MapRestResult
getTrackYstldResult
(
@RequestBody
List
<
SkTrail
>
points
){
return
skTrailService
.
getTrackYstldResult
(
points
);
}
...
...
@@ -43,8 +43,8 @@ public class SkTrailController extends ApiController {
* 轨迹疑似落脚点
*/
@PostMapping
(
"getTrackYsljdResult"
)
@ApiOperation
(
value
=
"轨迹疑似落脚点"
)
@OperLog
(
message
=
"轨迹疑似落脚点"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"
以人侦查_
轨迹疑似落脚点"
)
@OperLog
(
message
=
"
以人侦查_
轨迹疑似落脚点"
,
operation
=
OperationType
.
QUERY
)
public
MapRestResult
getTrackYsljdResult
(
@RequestBody
List
<
SkTrail
>
points
){
return
skTrailService
.
getTrackYsljdResult
(
points
);
}
...
...
@@ -53,8 +53,8 @@ public class SkTrailController extends ApiController {
* 轨迹疑似活动区域
*/
@PostMapping
(
"getTrackYshdqy"
)
@ApiOperation
(
value
=
"轨迹疑似活动区域"
)
@OperLog
(
message
=
"轨迹疑似活动区域"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"
以人侦查_
轨迹疑似活动区域"
)
@OperLog
(
message
=
"
以人侦查_
轨迹疑似活动区域"
,
operation
=
OperationType
.
QUERY
)
public
MapRestResult
getTrackYshdqy
(
@RequestBody
List
<
SkTrail
>
points
){
return
skTrailService
.
getTrackYshdqy
(
points
);
}
...
...
@@ -62,7 +62,8 @@ public class SkTrailController extends ApiController {
//轨迹点根据星期,时间段分类统计
@PostMapping
(
"/getTrackGroupByTime"
)
@ResponseBody
@OperLog
(
message
=
"轨迹点根据星期,时间段分类统计"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"以人侦查_轨迹点根据星期,时间段分类统计"
)
@OperLog
(
message
=
"以人侦查_轨迹点根据星期,时间段分类统计"
,
operation
=
OperationType
.
QUERY
)
public
MapRestResult
getTrackGroupByTime
(
@RequestBody
List
<
SkTrailParam
>
points
){
return
skTrailService
.
getTrackGroupByTime
(
points
);
}
...
...
service/publicapi/src/main/java/com/founder/publicapi/controller/SkModelService/SkbsController.java
View file @
9ee94554
...
...
@@ -2,6 +2,9 @@ package com.founder.publicapi.controller.SkModelService;
import
com.founder.commonutils.model.newPublicEntity.SkTrail
;
import
com.founder.commonutils.model.newPublicEntity.TogetherEntity
;
import
com.founder.servicebase.logs.OperLog
;
import
com.founder.servicebase.logs.OperationType
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
...
...
@@ -25,6 +28,8 @@ public class SkbsController {
* 在返回时将各种轨迹数据的经纬度、时间、地点转为统一实体,
* */
@PostMapping
(
"getSkbs"
)
@ApiOperation
(
value
=
"轨迹分析_伴随分析"
)
@OperLog
(
message
=
"轨迹分析_伴随分析"
,
operation
=
OperationType
.
ADD
)
public
List
getSkbs
(
@RequestBody
SkbsParam
skbsParam
){
//获取需要伴随的轨迹
// List<SkTrail> list=getYToGjInfo(requestParams);
...
...
service/publicapi/src/main/java/com/founder/publicapi/controller/ZtypService/ZtypController.java
View file @
9ee94554
...
...
@@ -35,8 +35,8 @@ public class ZtypController {
private
ZtypService
ztypService
;
@PostMapping
(
"/selectDxzpAj"
)
@OperLog
(
message
=
"查询所有的电信网络诈骗的案件"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"查询所有的电信网络诈骗的案件"
)
@OperLog
(
message
=
"
主题研判_
查询所有的电信网络诈骗的案件"
,
operation
=
OperationType
.
QUERY
)
@ApiOperation
(
value
=
"
主题研判_
查询所有的电信网络诈骗的案件"
)
public
R
selectFraudCases
(
ZpajxxModel
model
)
{
model
.
setPage
((
model
.
getPage
()
-
1
)
*
model
.
getLimit
());
model
.
setLimit
(
model
.
getLimit
());
...
...
@@ -48,9 +48,9 @@ public class ZtypController {
return
R
.
ok
().
total
(
total
).
rows
(
list
);
}
@OperLog
(
message
=
"新增标识号"
,
operation
=
OperationType
.
QUERY
)
@OperLog
(
message
=
"
主题研判_
新增标识号"
,
operation
=
OperationType
.
QUERY
)
@PostMapping
(
"/save"
)
@ApiOperation
(
value
=
"新增标识号"
)
@ApiOperation
(
value
=
"
主题研判_
新增标识号"
)
public
R
saveNewFwbshYp
(
TbStZtypFwbsh
fwbsh
,
HttpServletRequest
request
){
try
{
String
xxzjbh
=
KeyUtil
.
getUUIDKey
(
"BSH"
);
...
...
@@ -64,9 +64,9 @@ public class ZtypController {
}
}
@OperLog
(
message
=
"标识号查询列表"
,
operation
=
OperationType
.
QUERY
)
@OperLog
(
message
=
"
主题研判_
标识号查询列表"
,
operation
=
OperationType
.
QUERY
)
@PostMapping
(
"/list"
)
@ApiOperation
(
value
=
"标识号查询列表"
)
@ApiOperation
(
value
=
"
主题研判_
标识号查询列表"
)
public
R
listFwbshYp
(
TbStZtypFwbsh
fwbsh
,
HttpServletRequest
request
){
try
{
fwbsh
.
setXxdjryGmsfhm
(
JwtUser
.
getUser
(
request
).
getIdentitycard
());
...
...
@@ -78,9 +78,9 @@ public class ZtypController {
}
}
@OperLog
(
message
=
"标识号更新"
,
operation
=
OperationType
.
QUERY
)
@OperLog
(
message
=
"
主题研判_
标识号更新"
,
operation
=
OperationType
.
QUERY
)
@PostMapping
(
"/update"
)
@ApiOperation
(
value
=
"标识号更新"
)
@ApiOperation
(
value
=
"
主题研判_
标识号更新"
)
public
R
updateFwbshYp
(
TbStZtypFwbsh
fwbsh
,
HttpServletRequest
request
){
try
{
fwbsh
.
setUpUser
(
JwtUser
.
getUser
(
request
));
...
...
@@ -92,9 +92,9 @@ public class ZtypController {
}
}
@OperLog
(
message
=
"标识号删除"
,
operation
=
OperationType
.
QUERY
)
@OperLog
(
message
=
"
主题研判_
标识号删除"
,
operation
=
OperationType
.
QUERY
)
@PostMapping
(
"/delete"
)
@ApiOperation
(
value
=
"标识号删除"
)
@ApiOperation
(
value
=
"
主题研判_
标识号删除"
)
public
R
deleteFwbshYp
(
TbStZtypFwbsh
fwbsh
,
HttpServletRequest
request
){
try
{
fwbsh
.
setUpUser
(
JwtUser
.
getUser
(
request
));
...
...
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