FusionAnalysisController.java 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. package cn.com.taiji.controller;
  2. import cn.com.taiji.domain.FusionQuery;
  3. import cn.com.taiji.service.FusionAnalysisService;
  4. import org.springframework.web.bind.annotation.PostMapping;
  5. import org.springframework.web.bind.annotation.RequestBody;
  6. import org.springframework.web.bind.annotation.RequestMapping;
  7. import org.springframework.web.bind.annotation.RestController;
  8. import javax.annotation.Resource;
  9. import javax.servlet.http.HttpServletResponse;
  10. import java.io.IOException;
  11. import java.text.ParseException;
  12. /**
  13. * @author xhl
  14. * @date 2023/2/6
  15. */
  16. @RequestMapping("/es/fusion/analysis")
  17. @RestController
  18. public class FusionAnalysisController {
  19. @Resource
  20. private FusionAnalysisService fusionAnalysisService;
  21. /**
  22. * 轨迹融合-航速航向异常波动-识别融合数据率波动问题
  23. * @param query
  24. * @param response
  25. * @throws IOException
  26. * @throws ParseException
  27. */
  28. @PostMapping("excel/one")
  29. public void fusionAnalysisExcelOne(@RequestBody FusionQuery query, HttpServletResponse response) throws IOException, ParseException {
  30. fusionAnalysisService.fusionAnalysisExcelOne(query,response);
  31. }
  32. /**
  33. * 虚假外推数据-虚假推送问题
  34. * @param query
  35. * @param response
  36. * @throws IOException
  37. * @throws ParseException
  38. */
  39. @PostMapping("excel/two")
  40. public void fusionAnalysisExcelTwo(@RequestBody FusionQuery query, HttpServletResponse response) throws IOException, ParseException {
  41. fusionAnalysisService.fusionAnalysisExcelTwo(query,response);
  42. }
  43. /**
  44. * 遗漏融合-天奥轨迹数据遗漏
  45. * @param query
  46. * @param response
  47. * @throws IOException
  48. * @throws ParseException
  49. */
  50. @PostMapping("/tianao/excel")
  51. public void tianAoLeaveOutExcel(@RequestBody FusionQuery query, HttpServletResponse response) throws IOException, ParseException {
  52. fusionAnalysisService.tianAoLeaveOutExcel(query,response);
  53. }
  54. /**
  55. * 遗漏融合-北斗轨迹数据遗漏
  56. * @param query
  57. * @param response
  58. * @throws IOException
  59. * @throws ParseException
  60. */
  61. @PostMapping("/beidou/excel")
  62. public void beiDouLeaveOutExcel(@RequestBody FusionQuery query, HttpServletResponse response) throws IOException, ParseException {
  63. fusionAnalysisService.beiDouLeaveOutExcel(query,response);
  64. }
  65. /**
  66. * 遗漏融合-海兰信1级融合轨迹数据遗漏
  67. * @param query
  68. * @param response
  69. * @throws IOException
  70. * @throws ParseException
  71. */
  72. @PostMapping("/hlxyjrh/excel")
  73. public void hlxyjrhLeaveOutExcel(@RequestBody FusionQuery query, HttpServletResponse response) throws IOException, ParseException {
  74. fusionAnalysisService.hlxyjrhLeaveOutExcel(query,response);
  75. }
  76. /**
  77. * 错误融合-天奥静态数据与动态轨迹融合
  78. * @param query
  79. * @param response
  80. * @throws IOException
  81. * @throws ParseException
  82. */
  83. @PostMapping("/tianao/static/excel")
  84. public void tianaoStaticOrDynamicLeaveOutExcel(@RequestBody FusionQuery query, HttpServletResponse response) throws IOException, ParseException {
  85. fusionAnalysisService.tianaoStaticOrDynamicLeaveOutExcel(query,response);
  86. }
  87. }