| | |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import java.io.IOException; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | |
| | | return success(deptService.selectDeptTreeList(dept)); |
| | | } |
| | | |
| | | @RepeatSubmit |
| | | @Log(title = "用户管理", businessType = BusinessType.IMPORT) |
| | | @ApiOperation(value = "用户Excel批量导入") |
| | | @PostMapping("/importExcel") |
| | | public CommonResult importExcel(MultipartFile file) throws IOException { |
| | | return CommonResult.success(sysUserService.importUserExcel(file)); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | } |