| | |
| | | package com.project.admin.controller.system; |
| | | |
| | | import com.project.common.annotation.Log; |
| | | import com.project.common.annotation.RepeatSubmit; |
| | | import com.project.common.constant.UserConstants; |
| | | import com.project.common.core.controller.BaseController; |
| | | import com.project.common.core.domain.AjaxResult; |
| | |
| | | import com.project.common.core.page.TableDataInfo; |
| | | import com.project.common.enums.BusinessType; |
| | | import com.project.common.utils.SecurityUtils; |
| | | import com.project.common.utils.SensitiveUtil; |
| | | import com.project.common.utils.StringUtils; |
| | | import com.project.common.utils.poi.ExcelUtil; |
| | | import com.project.system.domain.bo.editBo.UserDeptBo; |
| | |
| | | { |
| | | startPage(); |
| | | List<SysUser> list = userService.selectUserListCommon(user); |
| | | list.forEach(SensitiveUtil::desensitize); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | |
| | | @ApiOperation(value = "保存导入信息") |
| | | @Log(title = "导入用户信息保存" , businessType = BusinessType.IMPORT) |
| | | @PostMapping("/saveImport") |
| | | @RepeatSubmit |
| | | public AjaxResult saveImport(@RequestBody SysUserResultVo resultVo) |
| | | { |
| | | return toAjax(userService.saveImport(resultVo) ? 1 : 0); |