| | |
| | | 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> |
| | |
| | | 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)); |
| | | } |
| | | |
| | | } |