Commit 94d836a7 by 宋珺琪

Api各个模块的注释信息

parent 0b0e727c
......@@ -266,8 +266,8 @@ public class KshServiceController extends ApiController {
}
@PostMapping("saveKshCache")
@ApiOperation(value = "新增可视化缓存记录")
@OperLog(message = "新增可视化缓存记录", operation = OperationType.ADD)
@ApiOperation(value = "多维情报_新增可视化缓存记录")
@OperLog(message = "多维情报_新增可视化缓存记录", operation = OperationType.ADD)
public MapRestResult saveKsh(@RequestBody KshServiceCache kshServiceCache, HttpServletRequest request) {
SysUser user = (SysUser)request.getAttribute("user");
kshServiceCache.setXxzjbh(KeyUtil.getUUIDKey("KSH"));
......@@ -282,8 +282,8 @@ public class KshServiceController extends ApiController {
}
@PostMapping("deleteKshCache")
@ApiOperation(value = "删除可视化服务信息")
@OperLog(message = "删除可视化服务信息", operation = OperationType.DELETE)
@ApiOperation(value = "多维情报_删除可视化服务信息")
@OperLog(message = "多维情报_删除可视化服务信息", operation = OperationType.DELETE)
public MapRestResult deleteKshCacheById(String xxzjbh) {
int delete = kshCacheService.deleteKshCacheById(xxzjbh);
if (delete>0) {
......@@ -294,8 +294,8 @@ public class KshServiceController extends ApiController {
}
@PostMapping("queryKshCache")
@ApiOperation(value = "查询可视化服务列表信息")
@OperLog(message = "查询可视化服务列表信息", operation = OperationType.QUERY)
@ApiOperation(value = "多维情报_查询可视化服务列表信息")
@OperLog(message = "多维情报_查询可视化服务列表信息", operation = OperationType.QUERY)
public MapRestResult KshCache(@RequestBody KshServiceCache kshServiceCache, HttpServletRequest request) {
SysUser user = (SysUser)request.getAttribute("user");
//分页
......@@ -313,8 +313,8 @@ public class KshServiceController extends ApiController {
}
@PostMapping("updateKshCache")
@ApiOperation(value = "修改可视化服务信息")
@OperLog(message = "修改可视化服务信息", operation = OperationType.UPDATE)
@ApiOperation(value = "多维情报_修改可视化服务信息")
@OperLog(message = "多维情报_修改可视化服务信息", operation = OperationType.UPDATE)
public MapRestResult updateKshCache(@RequestBody KshServiceCache kshServiceCache) {
boolean update = kshCacheService.updateById(kshServiceCache);
kshServiceCache.setKshdataString(JSONObject.toJSON(kshServiceCache.getKshdata()).toString());
......
......@@ -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();
......
......@@ -19,8 +19,8 @@ import org.springframework.web.bind.annotation.*;
public class SkSjXxController {
@PostMapping("query")
@ApiOperation(value = "手机信息获取")
@OperLog(message = "手机信息获取", operation = OperationType.QUERY)
@ApiOperation(value = "关系轨迹_手机信息获取")
@OperLog(message = "关系轨迹_手机信息获取", operation = OperationType.QUERY)
public MapRestResult save(@RequestBody SkSjXxResult skSjXxResult) {
skSjXxResult.setServiceProvider(PhoneUtil.getCarrier(skSjXxResult.getObjectValue(), "86"));
skSjXxResult.setCity(PhoneUtil.getGeo(skSjXxResult.getObjectValue(), "86"));
......
......@@ -41,8 +41,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中的用户信息
......@@ -56,16 +56,16 @@ public class AsjController {
return MapRestResult.build(200,"成功获取案件信息",total,asjList);
}
@OperLog(message = "点位校验_经纬度校验查询",operation = OperationType.QUERY)
@ApiOperation(value = "点位校验_经纬度校验查询")
@OperLog(message = "点位校验_获取案件经纬度",operation = OperationType.QUERY)
@ApiOperation(value = "点位校验_获取案件经纬度")
@PostMapping("getJwdinfoByAsjbh")
public MapRestResult getJwdinfoByAsjbh(@RequestBody TbStAsj tbStAsj) {
TbAsjJwdInfo tbAsjJwdinfo = tbStAsjService.getJwdinfoByAsjbh(tbStAsj.getAsjbh());
return MapRestResult.build(200,"成功获取经纬度校验信息","1",tbAsjJwdinfo);
}
@OperLog(message = "点位校验_根据案件编号修改经纬度",operation = OperationType.UPDATE)
@ApiOperation(value = "点位校验_根据案件编号修改经纬度")
@OperLog(message = "点位校验_保存经纬度/不予校验",operation = OperationType.UPDATE)
@ApiOperation(value = "点位校验_保存经纬度/不予校验")
@PostMapping("update")
public MapRestResult UpdateAsjxxByAsjbh(@RequestBody TbStAsj tbStAsj,HttpServletRequest request) {
try {
......@@ -169,24 +169,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);
......@@ -194,7 +194,7 @@ public class AsjController {
}
@OperLog(message = "涉案视频",operation = OperationType.QUERY)
@ApiOperation(value = "以案侦查_涉案视频")
@ApiOperation(value = "涉案视频")
@PostMapping("/querySasp")
public MapRestResult querySasp(String asjbh){
JSONObject jsonObject = null;
......
......@@ -77,8 +77,8 @@ public class RyAndAjController {
* @param pageSize 个数
* @return
*/
@OperLog(message = "案件查询",operation = OperationType.QUERY)
@ApiOperation(value = "案件查询")
@OperLog(message = "智图人案_案件查询",operation = OperationType.QUERY)
@ApiOperation(value = "智图人案_案件查询")
@PostMapping("Ajquery")
public MapRestResult getTaskInfo(@RequestParam(name = "ajmc", required = false) String ajmc,
@RequestParam(name = "cbdw", required = false) String cbdw,
......@@ -155,8 +155,8 @@ public class RyAndAjController {
* @param pageSize
* @return
*/
@OperLog(message = "案关联人员",operation = OperationType.QUERY)
@ApiOperation(value = "案关联人员")
@OperLog(message = "智图人案_案关联人员",operation = OperationType.QUERY)
@ApiOperation(value = "智图人案_案关联人员")
@PostMapping("Ryquery")
public MapRestResult selectAsjxxRlt(@RequestParam(name = "asjbh") String asjbh,
@RequestParam(name = "currentPage", defaultValue = "1") Integer currentPage,
......@@ -244,8 +244,8 @@ public class RyAndAjController {
return new MapRestResult(200,"ok",iPage.getTotal(),ajAndRyResullt);
}
@OperLog(message = "轨迹上图",operation = OperationType.QUERY)
@ApiOperation(value = "轨迹上图")
@OperLog(message = "智图人案_轨迹上图",operation = OperationType.QUERY)
@ApiOperation(value = "智图人案_轨迹上图")
@PostMapping("gjst")
public MapRestResult selectGjst(@RequestBody TbStXftpNew tbStXftpNew ){
// 基站轨迹 车辆轨迹 人像轨迹类型
......@@ -292,8 +292,8 @@ public class RyAndAjController {
}
@OperLog(message = "认定功能",operation = OperationType.QUERY)
@ApiOperation(value = "认定功能")
@OperLog(message = "智图人案_认定功能",operation = OperationType.QUERY)
@ApiOperation(value = "智图人案_认定功能")
@PostMapping("state")
public MapRestResult isstate(@RequestBody TbStXftpNew tbStXftpNew){
// 点认定传1 点取消传2
......@@ -343,8 +343,8 @@ public class RyAndAjController {
// selectWffzList selectBqXqByZjhm
@OperLog(message = "数据透视(人员详情有个违法犯罪数)",operation = OperationType.QUERY)
@ApiOperation(value = "数据透视")
@OperLog(message = "智图人案_数据透视",operation = OperationType.QUERY)
@ApiOperation(value = "智图人案_数据透视")
@PostMapping("wffzSjtx")
public MapRestResult selectWffzList(@RequestParam String zjhm ){
/* 入参证件号码430123196510265811
......@@ -383,8 +383,8 @@ public class RyAndAjController {
}
@OperLog(message = "标签数据透视",operation = OperationType.QUERY)
@ApiOperation(value = "标签数据透视")
@OperLog(message = "智图人案_标签数据透视",operation = OperationType.QUERY)
@ApiOperation(value = "智图人案_标签数据透视")
@PostMapping("selectBqXqByZjhm")
public MapRestResult selectBqXqByZjhm(@RequestParam String zjhm,@RequestParam String type,@RequestParam String bq){
......
......@@ -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");
......
......@@ -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)){
......
......@@ -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;
......@@ -470,8 +470,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<>();
......
......@@ -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) {
// 通过任务编号拿到区域集合 用于回显
......
......@@ -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());
......
......@@ -53,8 +53,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 {
Page page = new Page(param.getPage(), param.getPageSize());
......@@ -80,8 +80,8 @@ public class SkRelatedResultController extends ApiController {
List<SkRelatedAll> childList = new ArrayList<>();// 存储关联关系所有子集
@PostMapping("queryAll")
@ApiOperation(value = "查询关联关系(基础查询)")
@OperLog(message = "查询关联关系(基础查询)", operation = OperationType.QUERY)
@ApiOperation(value = "关系轨迹_查询关联关系(基础查询)")
@OperLog(message = "关系轨迹_查询关联关系(基础查询)", operation = OperationType.QUERY)
public MapRestResult queryAll(@RequestBody SkRelatedResultParam param) {
Page page = new Page(1, 5);
childList.clear();
......
......@@ -23,8 +23,8 @@ import java.io.IOException;
public class SkRxController extends ApiController {
@PostMapping("queryRxbd")
@ApiOperation(value = "以人侦查_查询人像比对信息")
@OperLog(message = "以人侦查_查询人像比对信息", operation = OperationType.QUERY)
@ApiOperation(value = "以人侦查_Ta是谁")
@OperLog(message = "以人侦查_Ta是谁", operation = OperationType.QUERY)
public MapRestResult queryRxgj(SkTrailParam sktrailParam) {
JSONArray jsonArray = new JSONArray();
try {
......
......@@ -177,8 +177,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) {
List<SkTrailVO> list = new ArrayList<>();
//分页
......@@ -356,8 +356,8 @@ public class SkTrailController extends ApiController implements ExcelControllerI
}
@PostMapping("queryRxgj")
@ApiOperation(value = "以人侦查_查询人像轨迹信息")
@OperLog(message = "以人侦查_查询人像轨迹信息", operation = OperationType.QUERY)
@ApiOperation(value = "以人侦查_Ta在哪")
@OperLog(message = "以人侦查_Ta在哪", operation = OperationType.QUERY)
public MapRestResult queryRxgj(SkTrailParam sktrailParam) {
//分页
Page page = new Page(sktrailParam.getPage(), sktrailParam.getPageSize());
......
......@@ -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());
......
......@@ -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,8 +62,8 @@ public class SkTrailController extends ApiController {
//轨迹点根据星期,时间段分类统计
@PostMapping("/getTrackGroupByTime")
@ResponseBody
@ApiOperation(value = "以人侦查_轨迹点根据星期,时间段分类统计")
@OperLog(message = "以人侦查_轨迹点根据星期,时间段分类统计", operation = OperationType.QUERY)
@ApiOperation(value = "以人侦查_轨迹点时序分析")
@OperLog(message = "以人侦查_轨迹点时序分析", operation = OperationType.QUERY)
public MapRestResult getTrackGroupByTime(@RequestBody List<SkTrailParam> points){
return skTrailService.getTrackGroupByTime(points);
}
......
......@@ -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));
......
......@@ -15,7 +15,10 @@ import com.founder.commonutils.model.newPublicEntity.hnkshrwEntity.HnTbStRygxRw;
import com.founder.commonutils.util.ExcelUtil;
import com.founder.publicapi.service.HnTbStRygxRwService;
import com.founder.publicapi.service.HnTbStRygxService;
import com.founder.servicebase.logs.OperLog;
import com.founder.servicebase.logs.OperationType;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.apache.commons.lang3.StringUtils;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.Workbook;
......@@ -86,6 +89,8 @@ public class HnTbStRygxController {
* total:团伙的个数
*/
@PostMapping("/getRythInfo")
@ApiOperation(value = "数据分析_获取团伙间的关系")
@OperLog(message = "数据分析_获取团伙间的关系", operation = OperationType.QUERY)
public Result getRythInfo(@RequestParam(name = "teamNum") Integer teamNum,
@RequestParam(name = "taskId") String taskId,
@RequestParam(name = "username") String username,
......@@ -299,6 +304,8 @@ public class HnTbStRygxController {
* @return
*/
@PostMapping("getRythInfoById")
@ApiOperation(value = "数据分析_可视化数据")
@OperLog(message = "数据分析_可视化数据", operation = OperationType.QUERY)
public MapRestResult getRythInfoById(@RequestParam("id") String id,
@RequestParam("teamNum")Integer teamNum,
@RequestParam("username") String username,
......@@ -451,6 +458,8 @@ public class HnTbStRygxController {
* @throws IOException
*/
@GetMapping("downloadFile")
@ApiOperation(value = "数据分析_下载文件")
@OperLog(message = "数据分析_下载文件", operation = OperationType.QUERY)
public void downloadFile(HttpServletResponse response, String excelId) throws IOException {
HnTbStRygxRw excelInfo = hnKshRwService.getOne(new QueryWrapper<HnTbStRygxRw>().eq("excel_id", excelId));
if (excelInfo == null) {
......@@ -512,6 +521,8 @@ public class HnTbStRygxController {
* @param excelId
* @return
*/
@ApiOperation(value = "数据分析_删除文件")
@OperLog(message = "数据分析_删除文件", operation = OperationType.DELETE)
@GetMapping("delFileByExcelId")
@Transactional
public Result delFileByExcelId(String excelId) {
......@@ -540,6 +551,8 @@ public class HnTbStRygxController {
* @param taskId
* @return
*/
@ApiOperation(value = "数据分析_删除任务")
@OperLog(message = "数据分析_删除任务", operation = OperationType.DELETE)
@PostMapping("delFileByTaskId")
@Transactional
public Result delFileByTaskId(String taskId) {
......@@ -572,6 +585,8 @@ public class HnTbStRygxController {
* @return
* @throws IOException
*/
@ApiOperation(value = "数据分析_上传文件")
@OperLog(message = "数据分析_上传文件", operation = OperationType.ADD)
@PostMapping("uploadFile")
@Transactional
public Result uploadFile(@RequestParam(name = "files") MultipartFile[] files,
......@@ -705,6 +720,8 @@ public class HnTbStRygxController {
* @param rygx
* @throws IOException
*/
@ApiOperation(value = "数据分析_导出")
@OperLog(message = "数据分析_导出", operation = OperationType.QUERY)
@PostMapping("export")
public void export(HttpServletResponse response,
@RequestParam("id") String id,
......
......@@ -12,7 +12,10 @@ import com.founder.commonutils.model.newPublicEntity.result.Result;
import com.founder.commonutils.model.newPublicEntity.hnkshrwEntity.HnTbStRygxRw;
import com.founder.commonutils.util.StringUtil;
import com.founder.publicapi.service.HnTbStRygxRwService;
import com.founder.servicebase.logs.OperLog;
import com.founder.servicebase.logs.OperationType;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.apache.commons.lang.time.DateFormatUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -48,6 +51,8 @@ public class HnTbStRygxRwController {
* @return
*/
@PostMapping("createTask")
@ApiOperation(value = "数据分析_创建任务")
@OperLog(message = "数据分析_创建任务", operation = OperationType.ADD)
public Result createTask(@RequestParam("taskName") String taskName, @RequestParam("username") String username) {
HnTbStRygxRw hnTbStRygxRw = new HnTbStRygxRw();
String rwid = IdUtil.simpleUUID();
......@@ -70,6 +75,8 @@ public class HnTbStRygxRwController {
* @return
*/
@PostMapping("getTaskInfo")
@ApiOperation(value = "数据分析_获取任务列表")
@OperLog(message = "数据分析_获取任务列表", operation = OperationType.QUERY)
public Result getTaskInfo(@RequestParam(name = "taskName", required = false) String taskName,
@RequestParam(name = "startTime", required = false)@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") LocalDateTime startTime,
@RequestParam(name = "endTime", required = false) @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")LocalDateTime endTime,
......
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