|
@@ -4,6 +4,8 @@ package com.ningdatech.pmapi.fiscal.controller; |
|
|
import com.ningdatech.pmapi.fiscal.manage.CompanyFiscalCodeManage; |
|
|
import com.ningdatech.pmapi.fiscal.manage.CompanyFiscalCodeManage; |
|
|
import com.ningdatech.pmapi.fiscal.model.po.ReqCompanyFiscalCodeAndSealSnPO; |
|
|
import com.ningdatech.pmapi.fiscal.model.po.ReqCompanyFiscalCodeAndSealSnPO; |
|
|
import com.ningdatech.pmapi.fiscal.model.po.ReqGetCompanyFiscalCodeAndSealSnPO; |
|
|
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 io.swagger.annotations.ApiOperation; |
|
|
import lombok.RequiredArgsConstructor; |
|
|
import lombok.RequiredArgsConstructor; |
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
@@ -24,7 +26,7 @@ import javax.validation.Valid; |
|
|
@RestController |
|
|
@RestController |
|
|
@RequestMapping("/api/v1/fiscal-code") |
|
|
@RequestMapping("/api/v1/fiscal-code") |
|
|
@RequiredArgsConstructor |
|
|
@RequiredArgsConstructor |
|
|
@ApiOperation("印章配置/财政编码配置") |
|
|
|
|
|
|
|
|
@Api(value = "CompanyFiscalCodeController", tags = "印章配置/财政编码配置") |
|
|
public class CompanyFiscalCodeController { |
|
|
public class CompanyFiscalCodeController { |
|
|
|
|
|
|
|
|
private final CompanyFiscalCodeManage companyFiscalCodeManage; |
|
|
private final CompanyFiscalCodeManage companyFiscalCodeManage; |
|
@@ -37,8 +39,8 @@ public class CompanyFiscalCodeController { |
|
|
|
|
|
|
|
|
@ApiOperation(value = "获取财政编码/配置", notes = "获取财政编码配置") |
|
|
@ApiOperation(value = "获取财政编码/配置", notes = "获取财政编码配置") |
|
|
@PostMapping("/fiscal-and-seal/get-configure/") |
|
|
@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); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |