Commit e4ebb539 by yangyang

涉案视频、串并案件提交

parent e64b3855
......@@ -10,6 +10,7 @@ import com.founder.commonutils.model.newPublicEntity.*;
import com.founder.commonutils.model.vo.param.*;
import com.founder.commonutils.util.JsonUtils;
import com.founder.publicapi.service.TbStAsjService;
import com.founder.servicebase.logs.OperLog;
import com.founder.servicebase.logs.OperationType;
......@@ -22,6 +23,7 @@ import org.springframework.util.StringUtils;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
......@@ -328,11 +330,24 @@ public class AsjController {
return MapRestResult.build(200,"成功",list.size(),list);
}
//@OperLog(message = "重点场所",operation = OperationType.QUERY)
@OperLog(message = "重点场所",operation = OperationType.QUERY)
@ApiOperation(value = "以案侦查-重点场所")
@PostMapping("/queryZdcs")
public MapRestResult getZdcs(@RequestBody SkPointlocationParams params){
List<Map<String,Object>>list = tbStAsjService.getZdcs(params);
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);
}
}
......@@ -146,6 +146,10 @@ public class SkRegionalsResultController extends ApiController implements ExcelC
// 获取任务结果 阿里云读取json线上读取接口
jsonArray = JsonUtils.readJsonFromClassPath("data/getRxhs.json", JSONArray.class);
break;//时空徘徊人像
/*case "skpz_rx":
// 获取任务结果 阿里云读取json线上读取接口
jsonArray = JsonUtils.readJsonFromClassPath("data/getRxhs.json", JSONArray.class);
break;//时空碰撞人像*/
}
if(jsonArray.size()>0) {
......
......@@ -35,7 +35,7 @@ public class SkWeakTrailController extends ApiController{
@PostMapping("save")
@ApiOperation(value = "新增轨迹信息")
//@OperLog(message = "新增轨迹信息", operation = OperationType.ADD)
@OperLog(message = "新增轨迹信息", operation = OperationType.ADD)
public MapRestResult save(@RequestBody SkWeakTrail skWeakTrail){
skWeakTrail.setId(KeyUtil.getUUIDKey("RGJ"));
......@@ -49,7 +49,7 @@ public class SkWeakTrailController extends ApiController{
@PostMapping("update")
@ApiOperation(value = "修改弱轨迹人员信息")
//@OperLog(message = "修改弱轨迹人员信息", operation = OperationType.UPDATE)
@OperLog(message = "修改弱轨迹人员信息", operation = OperationType.UPDATE)
public MapRestResult update(@RequestBody SkWeakTrail skWeakTrail){
boolean update = skWeakTrailService.updateById(skWeakTrail);
if (update) {
......@@ -61,7 +61,7 @@ public class SkWeakTrailController extends ApiController{
@PostMapping("delete")
@ApiOperation(value = "删除弱轨迹人员信息")
//@OperLog(message = "删除弱轨迹人员信息", operation = OperationType.DELETE)
@OperLog(message = "删除弱轨迹人员信息", operation = OperationType.DELETE)
public MapRestResult deleteById(@RequestBody SkWeakTrailParam skWeakTrailParam) {
SkWeakTrail skWeakTrail = new SkWeakTrail();
skWeakTrail.setId(skWeakTrailParam.getId());
......@@ -75,7 +75,7 @@ public class SkWeakTrailController extends ApiController{
@PostMapping("detail")
@ApiOperation(value = "查询弱轨迹人员详情信息")
//@OperLog(message = "查询弱轨迹人员详情信息", operation = OperationType.QUERY)
@OperLog(message = "查询弱轨迹人员详情信息", operation = OperationType.QUERY)
public MapRestResult detail(@RequestBody SkWeakTrailParam skWeakTrailParam) {
SkWeakTrail byId = skWeakTrailService.getById(skWeakTrailParam.getId());
if (byId == null) {
......
[
{
"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
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