FusionAnalysisController.java 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. package cn.com.taiji.controller;
  2. import org.springframework.web.bind.annotation.RequestMapping;
  3. import org.springframework.web.bind.annotation.RestController;
  4. /**
  5. * @author xhl
  6. * @date 2023/2/6
  7. */
  8. @RequestMapping("/es/fusion/analysis")
  9. @RestController
  10. public class FusionAnalysisController {
  11. @Resource
  12. private FusionAnalysisService fusionAnalysisService;
  13. /**
  14. * 轨迹融合-航速航向异常波动-识别融合数据率波动问题
  15. * @param query
  16. * @param response
  17. * @throws IOException
  18. * @throws ParseException
  19. */
  20. @PostMapping("excel/one")
  21. public void fusionAnalysisExcelOne(@RequestBody FusionQuery query, HttpServletResponse response) throws IOException, ParseException {
  22. fusionAnalysisService.fusionAnalysisExcelOne(query,response);
  23. }
  24. /**
  25. * 虚假外推数据-虚假推送问题
  26. * @param query
  27. * @param response
  28. * @throws IOException
  29. * @throws ParseException
  30. */
  31. @PostMapping("excel/two")
  32. public void fusionAnalysisExcelTwo(@RequestBody FusionQuery query, HttpServletResponse response) throws IOException, ParseException {
  33. fusionAnalysisService.fusionAnalysisExcelTwo(query,response);
  34. }
  35. /**
  36. * 遗漏融合-天奥轨迹数据遗漏
  37. * @param query
  38. * @param response
  39. * @throws IOException
  40. * @throws ParseException
  41. */
  42. @PostMapping("/tianao/excel")
  43. public void tianAoLeaveOutExcel(@RequestBody FusionQuery query, HttpServletResponse response) throws IOException, ParseException {
  44. fusionAnalysisService.tianAoLeaveOutExcel(query,response);
  45. }
  46. /**
  47. * 遗漏融合-北斗轨迹数据遗漏
  48. * @param query
  49. * @param response
  50. * @throws IOException
  51. * @throws ParseException
  52. */
  53. @PostMapping("/beidou/excel")
  54. public void beiDouLeaveOutExcel(@RequestBody FusionQuery query, HttpServletResponse response) throws IOException, ParseException {
  55. fusionAnalysisService.beiDouLeaveOutExcel(query,response);
  56. }
  57. /**
  58. * 遗漏融合-海兰信1级融合轨迹数据遗漏
  59. * @param query
  60. * @param response
  61. * @throws IOException
  62. * @throws ParseException
  63. */
  64. @PostMapping("/hlxyjrh/excel")
  65. public void hlxyjrhLeaveOutExcel(@RequestBody FusionQuery query, HttpServletResponse response) throws IOException, ParseException {
  66. fusionAnalysisService.hlxyjrhLeaveOutExcel(query,response);
  67. }
  68. /**
  69. * 错误融合-天奥静态数据与动态轨迹融合
  70. * @param query
  71. * @param response
  72. * @throws IOException
  73. * @throws ParseException
  74. */
  75. @PostMapping("/tianao/static/excel")
  76. public void tianaoStaticOrDynamicLeaveOutExcel(@RequestBody FusionQuery query, HttpServletResponse response) throws IOException, ParseException {
  77. fusionAnalysisService.tianaoStaticOrDynamicLeaveOutExcel(query,response);
  78. }
  79. @Resource
  80. private FusionAnalysisService fusionAnalysisService;
  81. /**
  82. * 轨迹融合-航速航向异常波动-识别融合数据率波动问题
  83. * @param query
  84. * @param response
  85. * @throws IOException
  86. * @throws ParseException
  87. */
  88. @PostMapping("excel/one")
  89. public void fusionAnalysisExcelOne(@RequestBody FusionQuery query, HttpServletResponse response) throws IOException, ParseException {
  90. fusionAnalysisService.fusionAnalysisExcelOne(query,response);
  91. }
  92. /**
  93. * 虚假外推数据-虚假推送问题
  94. * @param query
  95. * @param response
  96. * @throws IOException
  97. * @throws ParseException
  98. */
  99. @PostMapping("excel/two")
  100. public void fusionAnalysisExcelTwo(@RequestBody FusionQuery query, HttpServletResponse response) throws IOException, ParseException {
  101. fusionAnalysisService.fusionAnalysisExcelTwo(query,response);
  102. }
  103. /**
  104. * 遗漏融合-天奥轨迹数据遗漏
  105. * @param query
  106. * @param response
  107. * @throws IOException
  108. * @throws ParseException
  109. */
  110. @PostMapping("/tianao/excel")
  111. public void tianAoLeaveOutExcel(@RequestBody FusionQuery query, HttpServletResponse response) throws IOException, ParseException {
  112. fusionAnalysisService.tianAoLeaveOutExcel(query,response);
  113. }
  114. /**
  115. * 遗漏融合-北斗轨迹数据遗漏
  116. * @param query
  117. * @param response
  118. * @throws IOException
  119. * @throws ParseException
  120. */
  121. @PostMapping("/beidou/excel")
  122. public void beiDouLeaveOutExcel(@RequestBody FusionQuery query, HttpServletResponse response) throws IOException, ParseException {
  123. fusionAnalysisService.beiDouLeaveOutExcel(query,response);
  124. }
  125. /**
  126. * 遗漏融合-海兰信1级融合轨迹数据遗漏
  127. * @param query
  128. * @param response
  129. * @throws IOException
  130. * @throws ParseException
  131. */
  132. @PostMapping("/hlxyjrh/excel")
  133. public void hlxyjrhLeaveOutExcel(@RequestBody FusionQuery query, HttpServletResponse response) throws IOException, ParseException {
  134. fusionAnalysisService.hlxyjrhLeaveOutExcel(query,response);
  135. }
  136. /**
  137. * 错误融合-天奥静态数据与动态轨迹融合
  138. * @param query
  139. * @param response
  140. * @throws IOException
  141. * @throws ParseException
  142. */
  143. @PostMapping("/tianao/static/excel")
  144. public void tianaoStaticOrDynamicLeaveOutExcel(@RequestBody FusionQuery query, HttpServletResponse response) throws IOException, ParseException {
  145. fusionAnalysisService.tianaoStaticOrDynamicLeaveOutExcel(query,response);
  146. }
  147. /**
  148. * 轨迹融合-航速航向异常波动-识别融合速度异常波动问题
  149. * @param query
  150. * @param response
  151. * @throws IOException
  152. * @throws ParseException
  153. */
  154. @PostMapping("excel/three")
  155. public void fusionAnalysisExcelThree(@RequestBody FusionQuery query, HttpServletResponse response) throws IOException, ParseException {
  156. fusionAnalysisService.fusionAnalysisExcelThree(query,response);
  157. }
  158. /**
  159. * 轨迹融合-航速航向异常波动-识别融合航向异常波动问题
  160. * @param query
  161. * @param response
  162. * @throws IOException
  163. * @throws ParseException
  164. */
  165. @PostMapping("excel/four")
  166. public void fusionAnalysisExcelFour(@RequestBody FusionQuery query, HttpServletResponse response) throws IOException, ParseException {
  167. fusionAnalysisService.fusionAnalysisExcelFour(query,response);
  168. }
  169. /**
  170. * 轨迹融合-导出融合原始数据统计
  171. * @param query
  172. * @param response
  173. * @throws IOException
  174. * @throws ParseException
  175. */
  176. @PostMapping("excel/original/one")
  177. public void fusionAnalysisExcelOriginalOne(@RequestBody FusionQuery query, HttpServletResponse response) throws IOException, ParseException {
  178. fusionAnalysisService.fusionAnalysisExcelOriginalOne(query,response);
  179. }
  180. /**
  181. * 轨迹融合-导出北斗原始数据统计
  182. * @param query
  183. * @param response
  184. * @throws IOException
  185. * @throws ParseException
  186. */
  187. @PostMapping("excel/original/two")
  188. public void fusionAnalysisExcelOriginalTwo(@RequestBody FusionQuery query, HttpServletResponse response) throws IOException, ParseException {
  189. fusionAnalysisService.fusionAnalysisExcelOriginalTwo(query,response);
  190. }
  191. /**
  192. * 轨迹融合-导出天奥原始数据统计
  193. * @param query
  194. * @param response
  195. * @throws IOException
  196. * @throws ParseException
  197. */
  198. @PostMapping("excel/original/three")
  199. public void fusionAnalysisExcelOriginalThree(@RequestBody FusionQuery query, HttpServletResponse response) throws IOException, ParseException {
  200. fusionAnalysisService.fusionAnalysisExcelOriginalThree(query,response);
  201. }
  202. /**
  203. * 轨迹融合-导出融合原始数据
  204. * @param query
  205. * @param response
  206. * @throws IOException
  207. * @throws ParseException
  208. */
  209. @PostMapping("excel/original/four")
  210. public void fusionAnalysisExcelOriginalFour(@RequestBody FusionQuery query, HttpServletResponse response) throws IOException, ParseException {
  211. fusionAnalysisService.fusionAnalysisExcelOriginalFour(query,response);
  212. }
  213. /**
  214. * 轨迹融合-导出北斗原始数据
  215. * @param query
  216. * @param response
  217. * @throws IOException
  218. * @throws ParseException
  219. */
  220. @PostMapping("excel/original/five")
  221. public void fusionAnalysisExcelOriginalFive(@RequestBody FusionQuery query, HttpServletResponse response) throws IOException, ParseException {
  222. fusionAnalysisService.fusionAnalysisExcelOriginalFive(query,response);
  223. }
  224. /**
  225. * 轨迹融合-导出天奥原始数据
  226. * @param query
  227. * @param response
  228. * @throws IOException
  229. * @throws ParseException
  230. */
  231. @PostMapping("excel/original/six")
  232. public void fusionAnalysisExcelOriginalSix(@RequestBody FusionQuery query, HttpServletResponse response) throws IOException, ParseException {
  233. fusionAnalysisService.fusionAnalysisExcelOriginalSix(query,response);
  234. }
  235. }