| | |
| | | @ApiOperation("获取企业信息") |
| | | @GetMapping("/getCompanyDetail") |
| | | @RequiresPermissions("business:taxes:query") |
| | | public ApiResponse getCompanyDetail() { |
| | | public ApiResponse<Taxes> getCompanyDetail() { |
| | | LoginUserInfo loginUserInfo = (LoginUserInfo) SecurityUtils.getSubject().getPrincipal(); |
| | | if(!loginUserInfo.getType().equals(Constants.ONE)){ |
| | | throw new BusinessException(ResponseStatus.NOT_ALLOWED.getCode(),"非企业类用户无法进行该操作"); |
| | |
| | | @ApiOperation(value = "获取直保数据信息",notes = "") |
| | | @GetMapping("/getDirectTaxes") |
| | | @RequiresPermissions("business:taxes:query") |
| | | public ApiResponse getDirectTaxes(@RequestParam Integer id) { |
| | | public ApiResponse<List<TaxesInvoicingVO>> getDirectTaxes(@RequestParam Integer id) { |
| | | LoginUserInfo loginUserInfo = (LoginUserInfo) SecurityUtils.getSubject().getPrincipal(); |
| | | if(!loginUserInfo.getType().equals(Constants.ONE)){ |
| | | throw new BusinessException(ResponseStatus.NOT_ALLOWED.getCode(),"非企业类用户无法进行该操作"); |