|
|
@@ -9,9 +9,7 @@ import io.swagger.v3.oas.annotations.Operation;
|
|
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
-import org.springframework.web.bind.annotation.GetMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
@@ -230,9 +228,9 @@ public class KanbanBoardController {
|
|
|
* @param reqVO 查询条件
|
|
|
* @return 航次数据情况汇总(多航次合并为一个结果)
|
|
|
*/
|
|
|
- @GetMapping("/voyageDataSummary")
|
|
|
+ @PostMapping("/voyageDataSummary")
|
|
|
@Operation(summary = "查询航次数据情况汇总")
|
|
|
- public CommonResult<VoyageDataSummaryRespVO> getVoyageDataSummary(@Valid VoyageDataSummaryReqVO reqVO) {
|
|
|
+ public CommonResult<VoyageDataSummaryRespVO> getVoyageDataSummary(@RequestBody @Valid VoyageDataSummaryReqVO reqVO) {
|
|
|
VoyageDataSummaryRespVO vo = voyageStockBoardService.getVoyageDataSummary(reqVO);
|
|
|
return success(vo);
|
|
|
}
|
|
|
@@ -244,10 +242,10 @@ public class KanbanBoardController {
|
|
|
* @param response HTTP响应
|
|
|
* @throws IOException IO异常
|
|
|
*/
|
|
|
- @GetMapping("/voyageDataSummary/export-excel")
|
|
|
+ @PostMapping("/voyageDataSummary/export-excel")
|
|
|
@Operation(summary = "导出航次数据情况汇总 Excel")
|
|
|
@ApiAccessLog(operateType = EXPORT)
|
|
|
- public void exportVoyageDataSummaryExcel(@Valid VoyageDataSummaryReqVO reqVO,
|
|
|
+ public void exportVoyageDataSummaryExcel(@RequestBody @Valid VoyageDataSummaryReqVO reqVO,
|
|
|
HttpServletResponse response) throws IOException {
|
|
|
voyageStockBoardService.exportVoyageDataSummaryExcel(reqVO, response);
|
|
|
}
|