diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/external/controller/MhFileController.java b/hz-pm-api/src/main/java/com/hz/pm/api/external/controller/MhFileController.java index 07acca9..e614e5e 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/external/controller/MhFileController.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/external/controller/MhFileController.java @@ -19,7 +19,7 @@ import java.util.List; * @author WendyYang * @since 09:47 2023/12/29 */ -@Api("信创平台文件管理") +@Api(tags = "信创平台文件管理") @RestController @RequiredArgsConstructor @RequestMapping("/api/v1/mh/file") diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/external/controller/MhSyncController.java b/hz-pm-api/src/main/java/com/hz/pm/api/external/controller/MhSyncController.java index fee3321..f8fd051 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/external/controller/MhSyncController.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/external/controller/MhSyncController.java @@ -19,7 +19,7 @@ import java.time.LocalDateTime; * @author WendyYang * @since 09:56 2023/12/22 */ -@Api(hidden = true) +@Api(hidden = true, tags = "信产数据同步") @RestController @RequiredArgsConstructor @RequestMapping("/api/v1/mh/sync") diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/irs/controller/IrsProjectController.java b/hz-pm-api/src/main/java/com/hz/pm/api/irs/controller/IrsProjectController.java index cab9d72..674afd9 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/irs/controller/IrsProjectController.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/irs/controller/IrsProjectController.java @@ -23,7 +23,7 @@ import org.springframework.web.bind.annotation.RestController; @Validated @RestController @RequestMapping("/api/v1/irs/project/") -@Api(value = "irs", tags = "irs-IRS项目信息") +@Api(hidden = true, tags = "irs-IRS项目信息") @RequiredArgsConstructor public class IrsProjectController { diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/controller/ProjectGovSystemReplaceInfoController.java b/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/controller/ProjectGovSystemReplaceInfoController.java index 03ac746..896608a 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/controller/ProjectGovSystemReplaceInfoController.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/controller/ProjectGovSystemReplaceInfoController.java @@ -2,6 +2,7 @@ package com.hz.pm.api.projectlib.controller; import com.hz.pm.api.projectlib.manage.ProjectGovSystemReplaceInfoManage; import com.hz.pm.api.projectlib.model.vo.SystemReplaceInfoVO; +import io.swagger.annotations.Api; import lombok.RequiredArgsConstructor; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; @@ -16,6 +17,7 @@ import org.springframework.web.bind.annotation.RestController; * @author WendyYang * @since 15:38 2024/3/20 */ +@Api(tags = "项目替代情况总览") @RestController @RequestMapping("/api/v1/system-replace-info") @RequiredArgsConstructor diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/sys/controller/MhTodoRecordController.java b/hz-pm-api/src/main/java/com/hz/pm/api/sys/controller/MhTodoRecordController.java deleted file mode 100644 index 875c9bd..0000000 --- a/hz-pm-api/src/main/java/com/hz/pm/api/sys/controller/MhTodoRecordController.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.hz.pm.api.sys.controller; - -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.stereotype.Controller; - -/** - *

- * 信产待办发送记录 前端控制器 - *

- * - * @author WendyYang - * @since 2024-03-12 - */ -@Controller -@RequestMapping("/api.sys/mhTodoRecord") -public class MhTodoRecordController { - -} diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/sys/controller/OrgProcDefController.java b/hz-pm-api/src/main/java/com/hz/pm/api/sys/controller/OrgProcDefController.java index 7428436..093f911 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/sys/controller/OrgProcDefController.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/sys/controller/OrgProcDefController.java @@ -1,6 +1,7 @@ package com.hz.pm.api.sys.controller; import com.hz.pm.api.sys.manage.OrgProcDefManage; +import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import lombok.RequiredArgsConstructor; import org.springframework.web.bind.annotation.GetMapping; @@ -15,6 +16,7 @@ import org.springframework.web.bind.annotation.RestController; * @author WendyYang * @since 21:33 2024/3/6 */ +@Api(tags = "单位流程管理") @RestController @RequiredArgsConstructor @RequestMapping("/api/v1/org/procdef") diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/sys/controller/ProcessStatisticsController.java b/hz-pm-api/src/main/java/com/hz/pm/api/sys/controller/ProcessStatisticsController.java index c25a1eb..57b2827 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/sys/controller/ProcessStatisticsController.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/sys/controller/ProcessStatisticsController.java @@ -2,6 +2,7 @@ package com.hz.pm.api.sys.controller; import com.hz.pm.api.sys.manage.ProcessStatisticsManage; import com.hz.pm.api.sys.model.vo.ProcessDetailStatVO; +import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import lombok.AllArgsConstructor; import org.springframework.validation.annotation.Validated; @@ -23,6 +24,7 @@ import java.util.concurrent.TimeUnit; * @author WendyYang * @since 2023/7/31 **/ +@Api(tags = "流程统计") @Validated @RestController @RequestMapping("/api/v1/process/statistics") diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/sys/controller/RoleController.java b/hz-pm-api/src/main/java/com/hz/pm/api/sys/controller/RoleController.java index 5a77b30..0a9c057 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/sys/controller/RoleController.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/sys/controller/RoleController.java @@ -36,7 +36,7 @@ import java.util.List; @Validated @RestController @RequestMapping("/api/v1/role") -@Api(value = "Role", tags = "系统管理-角色") +@Api(tags = "系统管理-角色") @RequiredArgsConstructor public class RoleController { diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/sys/controller/UserGuidanceController.java b/hz-pm-api/src/main/java/com/hz/pm/api/sys/controller/UserGuidanceController.java index 59fa418..8d4dd3d 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/sys/controller/UserGuidanceController.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/sys/controller/UserGuidanceController.java @@ -24,7 +24,7 @@ import org.springframework.web.bind.annotation.RestController; @Validated @RestController @RequestMapping("/api/v1/sys/user-guidanc") -@Api(value = "UserGuidance", tags = "用户引导") +@Api(tags = "用户引导") @RequiredArgsConstructor public class UserGuidanceController { diff --git a/hz-pm-api/src/main/resources/response/ret-purchase-method.json b/hz-pm-api/src/main/resources/response/ret-purchase-method.json index ef1ad4a..63e2ca2 100644 --- a/hz-pm-api/src/main/resources/response/ret-purchase-method.json +++ b/hz-pm-api/src/main/resources/response/ret-purchase-method.json @@ -1,101 +1,51 @@ { - "code": 200, - "msg": "success", - "data": [ - { - "id": "035931f1fdb698cdf0d4cb7a04154a34", - "dictSort": 0, - "dictLabel": "竞争性切磋", - "dictValue": "JZXQC", - "dictType": "buy_way", - "dictId": "6f578f6f717a5d5bb0bf63a9b0870239", - "isDefault": "N", - "status": "0", - "remark": null, - "createTime": "2024-01-3021:21:40", - "updateTime": null, - "createBy": "7b40b2e2d396930d4f8567fd3d47a39e", - "updateBy": "" - }, - { - "id": "1b66784a1af14660186d5e3e40dec96b", - "dictSort": 0, - "dictLabel": "询价", - "dictValue": "XJ", - "dictType": "buy_way", - "dictId": "6f578f6f717a5d5bb0bf63a9b0870239", - "isDefault": "N", - "status": "0", - "remark": null, - "createTime": "2024-01-3021:22:04", - "updateTime": null, - "createBy": "7b40b2e2d396930d4f8567fd3d47a39e", - "updateBy": "" - }, - { - "id": "fc5d7c2cb97b15db54e3f6265df9e5f1", - "dictSort": 0, - "dictLabel": "邀请招标", - "dictValue": "YQZB", - "dictType": "buy_way", - "dictId": "6f578f6f717a5d5bb0bf63a9b0870239", - "isDefault": "N", - "status": "0", - "remark": null, - "createTime": "2024-01-3021:18:39", - "updateTime": null, - "createBy": "7b40b2e2d396930d4f8567fd3d47a39e", - "updateBy": "" - } - ] - } \ No newline at end of file