Browse Source

增加接口注释

tags/24080901
WendyYang 9 months ago
parent
commit
f139cce715
10 changed files with 11 additions and 73 deletions
  1. +1
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/external/controller/MhFileController.java
  2. +1
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/external/controller/MhSyncController.java
  3. +1
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/irs/controller/IrsProjectController.java
  4. +2
    -0
      hz-pm-api/src/main/java/com/hz/pm/api/projectlib/controller/ProjectGovSystemReplaceInfoController.java
  5. +0
    -18
      hz-pm-api/src/main/java/com/hz/pm/api/sys/controller/MhTodoRecordController.java
  6. +2
    -0
      hz-pm-api/src/main/java/com/hz/pm/api/sys/controller/OrgProcDefController.java
  7. +2
    -0
      hz-pm-api/src/main/java/com/hz/pm/api/sys/controller/ProcessStatisticsController.java
  8. +1
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/sys/controller/RoleController.java
  9. +1
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/sys/controller/UserGuidanceController.java
  10. +0
    -50
      hz-pm-api/src/main/resources/response/ret-purchase-method.json

+ 1
- 1
hz-pm-api/src/main/java/com/hz/pm/api/external/controller/MhFileController.java View File

@@ -19,7 +19,7 @@ import java.util.List;
* @author WendyYang * @author WendyYang
* @since 09:47 2023/12/29 * @since 09:47 2023/12/29
*/ */
@Api("信创平台文件管理")
@Api(tags = "信创平台文件管理")
@RestController @RestController
@RequiredArgsConstructor @RequiredArgsConstructor
@RequestMapping("/api/v1/mh/file") @RequestMapping("/api/v1/mh/file")


+ 1
- 1
hz-pm-api/src/main/java/com/hz/pm/api/external/controller/MhSyncController.java View File

@@ -19,7 +19,7 @@ import java.time.LocalDateTime;
* @author WendyYang * @author WendyYang
* @since 09:56 2023/12/22 * @since 09:56 2023/12/22
*/ */
@Api(hidden = true)
@Api(hidden = true, tags = "信产数据同步")
@RestController @RestController
@RequiredArgsConstructor @RequiredArgsConstructor
@RequestMapping("/api/v1/mh/sync") @RequestMapping("/api/v1/mh/sync")


+ 1
- 1
hz-pm-api/src/main/java/com/hz/pm/api/irs/controller/IrsProjectController.java View File

@@ -23,7 +23,7 @@ import org.springframework.web.bind.annotation.RestController;
@Validated @Validated
@RestController @RestController
@RequestMapping("/api/v1/irs/project/") @RequestMapping("/api/v1/irs/project/")
@Api(value = "irs", tags = "irs-IRS项目信息")
@Api(hidden = true, tags = "irs-IRS项目信息")
@RequiredArgsConstructor @RequiredArgsConstructor
public class IrsProjectController { public class IrsProjectController {




+ 2
- 0
hz-pm-api/src/main/java/com/hz/pm/api/projectlib/controller/ProjectGovSystemReplaceInfoController.java View File

@@ -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.manage.ProjectGovSystemReplaceInfoManage;
import com.hz.pm.api.projectlib.model.vo.SystemReplaceInfoVO; import com.hz.pm.api.projectlib.model.vo.SystemReplaceInfoVO;
import io.swagger.annotations.Api;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
@@ -16,6 +17,7 @@ import org.springframework.web.bind.annotation.RestController;
* @author WendyYang * @author WendyYang
* @since 15:38 2024/3/20 * @since 15:38 2024/3/20
*/ */
@Api(tags = "项目替代情况总览")
@RestController @RestController
@RequestMapping("/api/v1/system-replace-info") @RequestMapping("/api/v1/system-replace-info")
@RequiredArgsConstructor @RequiredArgsConstructor


+ 0
- 18
hz-pm-api/src/main/java/com/hz/pm/api/sys/controller/MhTodoRecordController.java View File

@@ -1,18 +0,0 @@
package com.hz.pm.api.sys.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;

/**
* <p>
* 信产待办发送记录 前端控制器
* </p>
*
* @author WendyYang
* @since 2024-03-12
*/
@Controller
@RequestMapping("/api.sys/mhTodoRecord")
public class MhTodoRecordController {

}

+ 2
- 0
hz-pm-api/src/main/java/com/hz/pm/api/sys/controller/OrgProcDefController.java View File

@@ -1,6 +1,7 @@
package com.hz.pm.api.sys.controller; package com.hz.pm.api.sys.controller;


import com.hz.pm.api.sys.manage.OrgProcDefManage; import com.hz.pm.api.sys.manage.OrgProcDefManage;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
@@ -15,6 +16,7 @@ import org.springframework.web.bind.annotation.RestController;
* @author WendyYang * @author WendyYang
* @since 21:33 2024/3/6 * @since 21:33 2024/3/6
*/ */
@Api(tags = "单位流程管理")
@RestController @RestController
@RequiredArgsConstructor @RequiredArgsConstructor
@RequestMapping("/api/v1/org/procdef") @RequestMapping("/api/v1/org/procdef")


+ 2
- 0
hz-pm-api/src/main/java/com/hz/pm/api/sys/controller/ProcessStatisticsController.java View File

@@ -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.manage.ProcessStatisticsManage;
import com.hz.pm.api.sys.model.vo.ProcessDetailStatVO; import com.hz.pm.api.sys.model.vo.ProcessDetailStatVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import org.springframework.validation.annotation.Validated; import org.springframework.validation.annotation.Validated;
@@ -23,6 +24,7 @@ import java.util.concurrent.TimeUnit;
* @author WendyYang * @author WendyYang
* @since 2023/7/31 * @since 2023/7/31
**/ **/
@Api(tags = "流程统计")
@Validated @Validated
@RestController @RestController
@RequestMapping("/api/v1/process/statistics") @RequestMapping("/api/v1/process/statistics")


+ 1
- 1
hz-pm-api/src/main/java/com/hz/pm/api/sys/controller/RoleController.java View File

@@ -36,7 +36,7 @@ import java.util.List;
@Validated @Validated
@RestController @RestController
@RequestMapping("/api/v1/role") @RequestMapping("/api/v1/role")
@Api(value = "Role", tags = "系统管理-角色")
@Api(tags = "系统管理-角色")
@RequiredArgsConstructor @RequiredArgsConstructor
public class RoleController { public class RoleController {




+ 1
- 1
hz-pm-api/src/main/java/com/hz/pm/api/sys/controller/UserGuidanceController.java View File

@@ -24,7 +24,7 @@ import org.springframework.web.bind.annotation.RestController;
@Validated @Validated
@RestController @RestController
@RequestMapping("/api/v1/sys/user-guidanc") @RequestMapping("/api/v1/sys/user-guidanc")
@Api(value = "UserGuidance", tags = "用户引导")
@Api(tags = "用户引导")
@RequiredArgsConstructor @RequiredArgsConstructor
public class UserGuidanceController { public class UserGuidanceController {




+ 0
- 50
hz-pm-api/src/main/resources/response/ret-purchase-method.json View File

@@ -1,101 +1,51 @@
{ {
"code": 200, "code": 200,
"msg": "success", "msg": "success",
"data": [ "data": [
{ {
"id": "035931f1fdb698cdf0d4cb7a04154a34", "id": "035931f1fdb698cdf0d4cb7a04154a34",
"dictSort": 0, "dictSort": 0,
"dictLabel": "竞争性切磋", "dictLabel": "竞争性切磋",
"dictValue": "JZXQC", "dictValue": "JZXQC",
"dictType": "buy_way", "dictType": "buy_way",
"dictId": "6f578f6f717a5d5bb0bf63a9b0870239", "dictId": "6f578f6f717a5d5bb0bf63a9b0870239",
"isDefault": "N", "isDefault": "N",
"status": "0", "status": "0",
"remark": null, "remark": null,
"createTime": "2024-01-3021:21:40", "createTime": "2024-01-3021:21:40",
"updateTime": null, "updateTime": null,
"createBy": "7b40b2e2d396930d4f8567fd3d47a39e", "createBy": "7b40b2e2d396930d4f8567fd3d47a39e",
"updateBy": "" "updateBy": ""
}, },
{ {
"id": "1b66784a1af14660186d5e3e40dec96b", "id": "1b66784a1af14660186d5e3e40dec96b",
"dictSort": 0, "dictSort": 0,
"dictLabel": "询价", "dictLabel": "询价",
"dictValue": "XJ", "dictValue": "XJ",
"dictType": "buy_way", "dictType": "buy_way",
"dictId": "6f578f6f717a5d5bb0bf63a9b0870239", "dictId": "6f578f6f717a5d5bb0bf63a9b0870239",
"isDefault": "N", "isDefault": "N",
"status": "0", "status": "0",
"remark": null, "remark": null,
"createTime": "2024-01-3021:22:04", "createTime": "2024-01-3021:22:04",
"updateTime": null, "updateTime": null,
"createBy": "7b40b2e2d396930d4f8567fd3d47a39e", "createBy": "7b40b2e2d396930d4f8567fd3d47a39e",
"updateBy": "" "updateBy": ""
}, },
{ {
"id": "fc5d7c2cb97b15db54e3f6265df9e5f1", "id": "fc5d7c2cb97b15db54e3f6265df9e5f1",
"dictSort": 0, "dictSort": 0,
"dictLabel": "邀请招标", "dictLabel": "邀请招标",
"dictValue": "YQZB", "dictValue": "YQZB",
"dictType": "buy_way", "dictType": "buy_way",
"dictId": "6f578f6f717a5d5bb0bf63a9b0870239", "dictId": "6f578f6f717a5d5bb0bf63a9b0870239",
"isDefault": "N", "isDefault": "N",
"status": "0", "status": "0",
"remark": null, "remark": null,
"createTime": "2024-01-3021:18:39", "createTime": "2024-01-3021:18:39",
"updateTime": null, "updateTime": null,
"createBy": "7b40b2e2d396930d4f8567fd3d47a39e", "createBy": "7b40b2e2d396930d4f8567fd3d47a39e",
"updateBy": "" "updateBy": ""
} }
] ]

} }

Loading…
Cancel
Save