Browse Source

组织综合列表筛选

传空返回全部
master
niohe·erbao 1 year ago
parent
commit
5d91c47683
2 changed files with 2 additions and 4 deletions
  1. +2
    -3
      pmapi/src/main/java/com/ningdatech/pmapi/organization/controller/DingOrganizationController.java
  2. +0
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/organization/model/po/ReqSynthesizePO.java

+ 2
- 3
pmapi/src/main/java/com/ningdatech/pmapi/organization/controller/DingOrganizationController.java View File

@@ -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.OrganizationTreeVO;
import com.ningdatech.pmapi.organization.model.vo.ResOrganizationListVO; import com.ningdatech.pmapi.organization.model.vo.ResOrganizationListVO;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
@@ -38,7 +37,7 @@ public class DingOrganizationController {


private final OrganizationManage organizationManage; private final OrganizationManage organizationManage;


@ApiModelProperty("单位列表筛选")
@ApiOperation("单位列表筛选")
@PostMapping("/list") @PostMapping("/list")
public PageVo<ResOrganizationListVO> organizationList(@Valid @RequestBody ReqOrganizationListPO reqOrganizationListPO) { public PageVo<ResOrganizationListVO> organizationList(@Valid @RequestBody ReqOrganizationListPO reqOrganizationListPO) {
return organizationManage.organizationList(reqOrganizationListPO); return organizationManage.organizationList(reqOrganizationListPO);
@@ -50,7 +49,7 @@ public class DingOrganizationController {
return organizationManage.getChildOrganizationList(parentCode); return organizationManage.getChildOrganizationList(parentCode);
} }


@ApiModelProperty("综合列表筛选")
@ApiOperation("综合列表筛选")
@PostMapping("/synthesize-list") @PostMapping("/synthesize-list")
public List<OrganizationSynthesizeTreeVO> organizationSynthesizeList(@Valid @RequestBody ReqSynthesizePO request) { public List<OrganizationSynthesizeTreeVO> organizationSynthesizeList(@Valid @RequestBody ReqSynthesizePO request) {
return organizationManage.organizationSynthesizeList(request); return organizationManage.organizationSynthesizeList(request);


+ 0
- 1
pmapi/src/main/java/com/ningdatech/pmapi/organization/model/po/ReqSynthesizePO.java View File

@@ -15,7 +15,6 @@ import javax.validation.constraints.NotBlank;
@ApiModel("单位列表综合筛选请求") @ApiModel("单位列表综合筛选请求")
public class ReqSynthesizePO { public class ReqSynthesizePO {


@NotBlank(message = "父组织code不能为空")
@ApiModelProperty("父组织code") @ApiModelProperty("父组织code")
private String parentCode; private String parentCode;




Loading…
Cancel
Save