From e70fc9cf8c5b83202eda2e5908dae2da329772cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?niohe=C2=B7erbao?= Date: Fri, 24 Mar 2023 10:49:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=B0=E7=AB=A0=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pmapi/fiscal/controller/CompanyFiscalCodeController.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/fiscal/controller/CompanyFiscalCodeController.java b/pmapi/src/main/java/com/ningdatech/pmapi/fiscal/controller/CompanyFiscalCodeController.java index 62fd115..9f01a52 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/fiscal/controller/CompanyFiscalCodeController.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/fiscal/controller/CompanyFiscalCodeController.java @@ -4,6 +4,8 @@ package com.ningdatech.pmapi.fiscal.controller; import com.ningdatech.pmapi.fiscal.manage.CompanyFiscalCodeManage; import com.ningdatech.pmapi.fiscal.model.po.ReqCompanyFiscalCodeAndSealSnPO; import com.ningdatech.pmapi.fiscal.model.po.ReqGetCompanyFiscalCodeAndSealSnPO; +import com.ningdatech.pmapi.fiscal.model.vo.ResCompanyFiscalCodeAndSealSnVO; +import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import lombok.RequiredArgsConstructor; import org.springframework.web.bind.annotation.PostMapping; @@ -24,7 +26,7 @@ import javax.validation.Valid; @RestController @RequestMapping("/api/v1/fiscal-code") @RequiredArgsConstructor -@ApiOperation("印章配置/财政编码配置") +@Api(value = "CompanyFiscalCodeController", tags = "印章配置/财政编码配置") public class CompanyFiscalCodeController { private final CompanyFiscalCodeManage companyFiscalCodeManage; @@ -37,8 +39,8 @@ public class CompanyFiscalCodeController { @ApiOperation(value = "获取财政编码/配置", notes = "获取财政编码配置") @PostMapping("/fiscal-and-seal/get-configure/") - public void getFiscalAndSealCodeConfigure(@Valid @RequestBody ReqGetCompanyFiscalCodeAndSealSnPO request) { - companyFiscalCodeManage.getFiscalCodeConfigure(request); + public ResCompanyFiscalCodeAndSealSnVO getFiscalAndSealCodeConfigure(@Valid @RequestBody ReqGetCompanyFiscalCodeAndSealSnPO request) { + return companyFiscalCodeManage.getFiscalCodeConfigure(request); } }