Commit 9ee94554 by 宋珺琪

添加各个模块的统计计数接口

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