| | |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.Map; |
| | | |
| | | @RestController |
| | | @Api(value="用户controller",tags={"用户操作接口"}) |
| | | @RequestMapping("/userInfo") |
| | |
| | | return Result.seccess(userService.findAll()); |
| | | } |
| | | |
| | | @ApiOperation("app查询报工班组列表") |
| | | @PostMapping("findByAddress") |
| | | public Result findByAddress(@RequestBody Map<String,String> userName){ |
| | | return Result.seccess(userService.findByAddress(userName)); |
| | | } |
| | | |
| | | @ApiOperation("查询所有工序") |
| | | @SaCheckPermission("userList.search") |
| | | @PostMapping("selectProcess") |