|
|
@@ -0,0 +1,58 @@
|
|
|
+package com.ruoyi.business.controller;
|
|
|
+
|
|
|
+import com.ruoyi.business.domain.bo.BjServiceCheckBo;
|
|
|
+import com.ruoyi.business.service.IBjServiceCheckService;
|
|
|
+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/serviceCheck
|
|
|
+ *
|
|
|
+ * @author libai
|
|
|
+ * @date 2025-10-29
|
|
|
+ */
|
|
|
+@Tag(name = "营运检验监督查询")
|
|
|
+@Validated
|
|
|
+@RequiredArgsConstructor
|
|
|
+@RestController
|
|
|
+@RequestMapping("/serviceCheck")
|
|
|
+public class BjServiceCheckController extends BaseController {
|
|
|
+
|
|
|
+ @Resource
|
|
|
+ private IBjServiceCheckService bjServiceCheckService;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 营运检验监督查询列表
|
|
|
+ */
|
|
|
+ @Operation(summary = "查询营运检验监督查询列表")
|
|
|
+// @SaCheckPermission("business:serviceCheck:list")
|
|
|
+ @GetMapping("/list")
|
|
|
+ public TableDataInfo list(BjServiceCheckBo bo) {
|
|
|
+ return getDataTable(bjServiceCheckService.queryPageList(bo));
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 获取营运检验监督查询详细信息
|
|
|
+ *
|
|
|
+ * @param serviceCheckId 主键
|
|
|
+ */
|
|
|
+ @Operation(summary = "获取营运检验监督查询详细信息")
|
|
|
+// @SaCheckPermission("business:serviceCheck:query")
|
|
|
+ @GetMapping("/{serviceCheckId}")
|
|
|
+ public AjaxResult getInfo(@PathVariable("serviceCheckId") String serviceCheckId) {
|
|
|
+ return success(bjServiceCheckService.queryById(serviceCheckId));
|
|
|
+ }
|
|
|
+
|
|
|
+}
|