| | |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.data.repository.query.Param; |
| | | import org.springframework.util.Assert; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | @GetMapping("/selectListByDepartmentId") |
| | | @Authorization |
| | | public ResultData selectListByDepartmentId(@RequestParam("departmentId") String departmentId, |
| | | @RequestParam("classifyId") String classifyId){ |
| | | @RequestParam(value = "classifyId",required = false) String classifyId){ |
| | | return ResultData.success(IUserService.selectListByDepartmentId(departmentId,classifyId)); |
| | | } |
| | | |
| | | /** |
| | | * 查询导办用户列表(不分页) |
| | | * @return 结果 |
| | | */ |
| | | @ApiOperation(" 查询导办用户列表(不分页)") |
| | | @GetMapping("/queryList") |
| | | @Authorization |
| | | public ResultData queryList(){ |
| | | return ResultData.success(IUserService.queryList(2)); |
| | | } |
| | | |
| | | } |