#add 根据统一社会代码和年份查下该企业的营收和税收

pull/178/head
王志超 2025-04-10 11:42:36 +08:00
parent 9a5206b202
commit bff2f38abc
1 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ import io.swagger.v3.oas.annotations.tags.Tag;
import org.sk.module.data.api.finance.dto.FinanceRespDTO;
import org.sk.module.data.enums.ApiConstants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
@FeignClient(name = ApiConstants.NAME)
@ -18,14 +18,14 @@ public interface FinanceApi {
String PREFIX = ApiConstants.PREFIX + "/finance";
@PostMapping(PREFIX + "/get")
@GetMapping(PREFIX + "/getInfo")
@Operation(summary = "获取财务信息")
@Parameters({
@Parameter(name = "creditCode", description = "统一身份认证编码", example = "SEX", required = true),
@Parameter(name = "year", description = "年份", example = "2022", required = true)
})
CommonResult<FinanceRespDTO> getFinanceInfo(@RequestParam("creditCode") String creditCode,
@RequestParam("year") String year);
@RequestParam("year") String year);
}