heheng
2025-10-14 104ae610d1d7e8dab5fff9abe4a56208941d62d7
multi-admin/src/main/java/com/gkhy/exam/admin/controller/web/StandingBookController.java
@@ -13,6 +13,7 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
/**
 * <p>
@@ -60,4 +61,12 @@
        return standingBookService.deletedStandingBook(id);
    }
    @PostMapping("/importStandingBooks")
    @ApiImplicitParams({
            @ApiImplicitParam(paramType = "query", name = "companyId", dataType = "int", required = true, value = "companyId"),
    })
    public CommonResult importStandingBooks(MultipartFile file,  Long companyId) {
        return CommonResult.success(standingBookService.importStandingBooks(companyId, file));
    }
}