|
@@ -26,18 +26,18 @@ import javax.validation.Valid; |
|
|
@RestController |
|
|
@RestController |
|
|
@RequestMapping("/api/v1/fiscal-code") |
|
|
@RequestMapping("/api/v1/fiscal-code") |
|
|
@RequiredArgsConstructor |
|
|
@RequiredArgsConstructor |
|
|
@Api(value = "CompanyFiscalCodeController", tags = "印章配置/财政编码配置") |
|
|
|
|
|
|
|
|
@Api(tags = "印章配置-财政编码配置") |
|
|
public class CompanyFiscalCodeController { |
|
|
public class CompanyFiscalCodeController { |
|
|
|
|
|
|
|
|
private final CompanyFiscalCodeManage companyFiscalCodeManage; |
|
|
private final CompanyFiscalCodeManage companyFiscalCodeManage; |
|
|
|
|
|
|
|
|
@ApiOperation(value = "财政编码/配置", notes = "财政编码配置") |
|
|
|
|
|
|
|
|
@ApiOperation(value = "财政编码-配置", notes = "财政编码配置") |
|
|
@PostMapping("/fiscal-and-seal/configure") |
|
|
@PostMapping("/fiscal-and-seal/configure") |
|
|
public void fiscalAndSealCodeConfigure(@Valid @RequestBody ReqCompanyFiscalCodeAndSealSnPO reqCompanyFiscalCodeAndSealSnPO) { |
|
|
public void fiscalAndSealCodeConfigure(@Valid @RequestBody ReqCompanyFiscalCodeAndSealSnPO reqCompanyFiscalCodeAndSealSnPO) { |
|
|
companyFiscalCodeManage.fiscalCodeConfigure(reqCompanyFiscalCodeAndSealSnPO); |
|
|
companyFiscalCodeManage.fiscalCodeConfigure(reqCompanyFiscalCodeAndSealSnPO); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ApiOperation(value = "获取财政编码/配置", notes = "获取财政编码配置") |
|
|
|
|
|
|
|
|
@ApiOperation(value = "获取财政编码-配置", notes = "获取财政编码配置") |
|
|
@PostMapping("/fiscal-and-seal/get-configure/") |
|
|
@PostMapping("/fiscal-and-seal/get-configure/") |
|
|
public ResCompanyFiscalCodeAndSealSnVO getFiscalAndSealCodeConfigure(@Valid @RequestBody ReqGetCompanyFiscalCodeAndSealSnPO request) { |
|
|
public ResCompanyFiscalCodeAndSealSnVO getFiscalAndSealCodeConfigure(@Valid @RequestBody ReqGetCompanyFiscalCodeAndSealSnPO request) { |
|
|
return companyFiscalCodeManage.getFiscalCodeConfigure(request); |
|
|
return companyFiscalCodeManage.getFiscalCodeConfigure(request); |
|
|