|
|
@@ -7,8 +7,12 @@ import io.swagger.annotations.ApiOperation; |
|
|
|
import lombok.RequiredArgsConstructor; |
|
|
|
import org.springframework.stereotype.Controller; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
|
|
|
|
import javax.validation.Valid; |
|
|
|
|
|
|
|
/** |
|
|
|
* <p> |
|
|
|
* 前端控制器 |
|
|
@@ -25,11 +29,13 @@ public class CompanyFiscalCodeController { |
|
|
|
private final CompanyFiscalCodeManage companyFiscalCodeManage; |
|
|
|
|
|
|
|
@ApiOperation(value = "财政编码/配置", notes = "财政编码配置") |
|
|
|
@GetMapping("/configure") |
|
|
|
public void fiscalAndSealCodeConfigure(ReqCompanyFiscalCodeAndSealSnPO reqCompanyFiscalCodeAndSealSnPO) { |
|
|
|
@PostMapping("/configure") |
|
|
|
public void fiscalAndSealCodeConfigure(@Valid @RequestBody ReqCompanyFiscalCodeAndSealSnPO reqCompanyFiscalCodeAndSealSnPO) { |
|
|
|
companyFiscalCodeManage.fiscalCodeConfigure(reqCompanyFiscalCodeAndSealSnPO); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |