From 5d91c476830c846a322e44c2205b8dd33a818a99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?niohe=C2=B7erbao?= Date: Tue, 28 Mar 2023 17:23:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=84=E7=BB=87=E7=BB=BC=E5=90=88=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E7=AD=9B=E9=80=89=20=E4=BC=A0=E7=A9=BA=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E5=85=A8=E9=83=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pmapi/organization/controller/DingOrganizationController.java | 5 ++--- .../com/ningdatech/pmapi/organization/model/po/ReqSynthesizePO.java | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/organization/controller/DingOrganizationController.java b/pmapi/src/main/java/com/ningdatech/pmapi/organization/controller/DingOrganizationController.java index b807633..9fd6cdb 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/organization/controller/DingOrganizationController.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/organization/controller/DingOrganizationController.java @@ -9,7 +9,6 @@ import com.ningdatech.pmapi.organization.model.vo.OrganizationSynthesizeTreeVO; import com.ningdatech.pmapi.organization.model.vo.OrganizationTreeVO; import com.ningdatech.pmapi.organization.model.vo.ResOrganizationListVO; import io.swagger.annotations.Api; -import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiOperation; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; @@ -38,7 +37,7 @@ public class DingOrganizationController { private final OrganizationManage organizationManage; - @ApiModelProperty("单位列表筛选") + @ApiOperation("单位列表筛选") @PostMapping("/list") public PageVo organizationList(@Valid @RequestBody ReqOrganizationListPO reqOrganizationListPO) { return organizationManage.organizationList(reqOrganizationListPO); @@ -50,7 +49,7 @@ public class DingOrganizationController { return organizationManage.getChildOrganizationList(parentCode); } - @ApiModelProperty("综合列表筛选") + @ApiOperation("综合列表筛选") @PostMapping("/synthesize-list") public List organizationSynthesizeList(@Valid @RequestBody ReqSynthesizePO request) { return organizationManage.organizationSynthesizeList(request); diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/organization/model/po/ReqSynthesizePO.java b/pmapi/src/main/java/com/ningdatech/pmapi/organization/model/po/ReqSynthesizePO.java index 2060986..bad75b5 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/organization/model/po/ReqSynthesizePO.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/organization/model/po/ReqSynthesizePO.java @@ -15,7 +15,6 @@ import javax.validation.constraints.NotBlank; @ApiModel("单位列表综合筛选请求") public class ReqSynthesizePO { - @NotBlank(message = "父组织code不能为空") @ApiModelProperty("父组织code") private String parentCode;