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); } }