| | |
| | | import org.springblade.modules.system.entity.User; |
| | | import org.springblade.modules.system.excel.UserExcel; |
| | | import org.springblade.modules.system.excel.UserImporter; |
| | | import org.springblade.modules.system.node.TreeNode; |
| | | import org.springblade.modules.system.service.IUserService; |
| | | import org.springblade.modules.system.vo.DeptVO; |
| | | import org.springblade.modules.system.vo.UserVO; |
| | | import org.springblade.modules.system.wrapper.UserWrapper; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | return R.data(pages); |
| | | } |
| | | |
| | | /** |
| | | * 保安员列表树,帅选无保安证,下拉tree |
| | | */ |
| | | @GetMapping("/security-apply-tree") |
| | | public R<List<TreeNode>> securityApplyTree(UserVO user) { |
| | | List<TreeNode> tree = userService.getSecurityApplyTree(user); |
| | | return R.data(tree); |
| | | } |
| | | |
| | | /** |
| | | * 自定义用户列表(只有保安员) |
| | | */ |
| | | @GetMapping("/selectInr") |
| | | public R selectInr(String deptid) { |
| | | List<Map<Object, Object>> list = userService.selectInr(deptid); |
| | | return R.data(list); |
| | | } |
| | | |
| | | } |