基于SpringCloud+Kubernetes 微服务的容器化持续交付实战

393 阅读1分钟

基于SpringCloud+Kubernetes 微服务的容器化持续交付实战

V: ititit111222333

    /**
     * 自身税号分类导入
     */
    @ApiOperationSupport(order = 1400)
    @ApiOperation(value = "自身税号分类导入", notes = "自身税号分类导入")
    @PostMapping(value = "import-tax-num")
    public Result<Integer> importTaxNum(@RequestParam("file") @ApiParam(value = "excel附件", required = true) MultipartFile file) {
        log.info("====> /api/product/category/import-tax-num, fileName=" + file.getOriginalFilename());
        return super.importExcel(file, TaxNumberImport.class, () ->
                new TaxNumberImportListener(categoryConfigService.getByConfigCode(CategoryConfigConstant.TAX_CATEGORY)
                        , service, taxInformationService, categoryTaxService, attributeTemplateService, categoryAttributeTemplateService));
    }