|
|
@@ -0,0 +1,58 @@
|
|
|
+package com.ruoyi.business.controller;
|
|
|
+
|
|
|
+import com.ruoyi.business.domain.bo.BjPortReportBo;
|
|
|
+import com.ruoyi.business.service.IBjPortReportService;
|
|
|
+import com.ruoyi.common.core.web.controller.BaseController;
|
|
|
+import com.ruoyi.common.core.web.domain.AjaxResult;
|
|
|
+import com.ruoyi.common.core.web.page.TableDataInfo;
|
|
|
+import io.swagger.v3.oas.annotations.Operation;
|
|
|
+import io.swagger.v3.oas.annotations.tags.Tag;
|
|
|
+import lombok.RequiredArgsConstructor;
|
|
|
+import org.springframework.validation.annotation.Validated;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.PathVariable;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+import javax.annotation.Resource;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 进出口岸报告查询
|
|
|
+ * 前端访问路由地址为:/business/portReport
|
|
|
+ *
|
|
|
+ * @author libai
|
|
|
+ * @date 2025-10-28
|
|
|
+ */
|
|
|
+@Tag(name = "进出口岸报告查询")
|
|
|
+@Validated
|
|
|
+@RequiredArgsConstructor
|
|
|
+@RestController
|
|
|
+@RequestMapping("/portReport")
|
|
|
+public class BjPortReportController extends BaseController {
|
|
|
+
|
|
|
+ @Resource
|
|
|
+ private IBjPortReportService bjPortReportService;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 进出口岸报告查询列表
|
|
|
+ */
|
|
|
+ @Operation(summary = "查询进出口岸报告查询列表")
|
|
|
+// @SaCheckPermission("business:portReport:list")
|
|
|
+ @GetMapping("/list")
|
|
|
+ public TableDataInfo list(BjPortReportBo bo) {
|
|
|
+ return getDataTable(bjPortReportService.queryPageList(bo));
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 获取进出口岸报告查询详细信息
|
|
|
+ *
|
|
|
+ * @param localeSecurityCheckId 主键
|
|
|
+ */
|
|
|
+ @Operation(summary = "获取进出口岸报告查询详细信息")
|
|
|
+// @SaCheckPermission("business:portReport:query")
|
|
|
+ @GetMapping("/{portReportId}")
|
|
|
+ public AjaxResult getInfo(@PathVariable("portReportId") String localeSecurityCheckId) {
|
|
|
+ return success(bjPortReportService.queryById(localeSecurityCheckId));
|
|
|
+ }
|
|
|
+
|
|
|
+}
|