瀏覽代碼

Merge remote-tracking branch 'origin/master'

master
PoffyZhang 1 年之前
父節點
當前提交
1171c84d40
共有 2 個文件被更改,包括 2 次插入4 次删除
  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 查看文件

@@ -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<ResOrganizationListVO> 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<OrganizationSynthesizeTreeVO> organizationSynthesizeList(@Valid @RequestBody ReqSynthesizePO request) {
return organizationManage.organizationSynthesizeList(request);


+ 0
- 1
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;



Loading…
取消
儲存