浏览代码

条线接口

master
PoffyZhang 1年前
父节点
当前提交
5e9c64462b
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. +8
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/irs/controller/OrganizationController.java

+ 8
- 0
pmapi/src/main/java/com/ningdatech/pmapi/irs/controller/OrganizationController.java 查看文件

@@ -2,6 +2,7 @@ package com.ningdatech.pmapi.irs.controller;

import com.ningdatech.zwdd.client.ZwddClient;
import com.ningdatech.zwdd.model.dto.DingOrgInfoDTO;
import com.ningdatech.zwdd.model.dto.SubGovBusinessStripsDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
@@ -9,6 +10,8 @@ import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
* @Classname OrganizationController
* @Description
@@ -31,4 +34,9 @@ public class OrganizationController {
return zwddClient.getOrganizationByCode(code).getData();
}

@ApiOperation(value = "获取条线列表", notes = "获取条线列表")
@GetMapping("/getGovBusinessStripLine/{code}")
public List<SubGovBusinessStripsDTO> getGovBusinessStripLine(@PathVariable String code) {
return zwddClient.getGovBusinessStripLine(code).getData();
}
}

正在加载...
取消
保存