| | |
| | | import java.util.List; |
| | | import java.util.stream.Collectors; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import com.ruoyi.common.core.domain.entity.IdsDto; |
| | | import org.apache.commons.lang3.ArrayUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | @PostMapping("/byDeptId") |
| | | public TableDataInfo byDeptId(@RequestBody IdsDto idsDto){ |
| | | startPage(); |
| | | return getDataTable(userService.selectUserByDeptIds(idsDto)); |
| | | } |
| | | |
| | | @Log(title = "用户管理", businessType = BusinessType.EXPORT) |
| | | @PreAuthorize("@ss.hasPermi('system:user:export')") |
| | | @PostMapping("/export") |