From 3341599719e0ae63889b6bfb4eea3cf4521b0ab8 Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: Tue, 01 Jul 2025 10:00:49 +0800
Subject: [PATCH] 新功能模块
---
multi-admin/src/main/java/com/gkhy/exam/admin/controller/web/TemplateController.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/multi-admin/src/main/java/com/gkhy/exam/admin/controller/web/TemplateController.java b/multi-admin/src/main/java/com/gkhy/exam/admin/controller/web/TemplateController.java
index dfbb01a..d457d0d 100644
--- a/multi-admin/src/main/java/com/gkhy/exam/admin/controller/web/TemplateController.java
+++ b/multi-admin/src/main/java/com/gkhy/exam/admin/controller/web/TemplateController.java
@@ -29,13 +29,13 @@
*/
@ApiOperation(value = "标准化模版(分页)")
@ApiImplicitParams({
- @ApiImplicitParam(paramType = "query", name = "companyId", dataType = "int", required = true, value = "公司iD"),
+ @ApiImplicitParam(paramType = "query", name = "companyId", dataType = "int", required = false, value = "公司iD"),
@ApiImplicitParam(paramType = "query", name = "templateType", dataType = "int", required = true, value = "类型1体系标准2技术标准3应用标准4程序文件5作业指导书6记录及表单7技术类8生产类9其他知识产权"),
@ApiImplicitParam(paramType = "query", name = "pageNum", dataType = "int", required = true, value = "页码"),
@ApiImplicitParam(paramType = "query", name = "pageSize", dataType = "int", required = true, value = "每页数量")
})
@GetMapping("/standardizedTemplate/list")
- public CommonResult selectStandardizedTemplateList(@RequestParam("companyId") Integer companyId, @RequestParam("templateType") Integer templateType){
+ public CommonResult selectStandardizedTemplateList(Integer companyId, @RequestParam("templateType") Integer templateType){
return CommonResult.success(standardizedTemplateService.selectStandardizedTemplateList(companyId, templateType));
}
@@ -82,7 +82,7 @@
@ApiImplicitParam(paramType = "query", name = "companyId", dataType = "int", required = true, value = "公司iD"),
})
@GetMapping("/standardizedQuality/info")
- public CommonResult selectStandardizedQuality(@RequestParam("companyId") Integer companyId){
+ public CommonResult selectStandardizedQuality(Integer companyId){
return CommonResult.success(standardizedTemplateService.selectStandardizedQuality(companyId));
}
--
Gitblit v1.9.2