| | |
| | | package com.ycl.controller.epuipment; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ycl.annotation.LogSave; |
| | | import com.ycl.api.CommonResult; |
| | |
| | | |
| | | @GetMapping("/query") |
| | | @ApiOperation("查询") |
| | | @LogSave |
| | | public CommonResult<Page<HandheldTerminalVo>> search(@RequestParam(required = false) Integer size, |
| | | @RequestParam(required = false) Integer current, |
| | | @RequestParam(required = false) Short state) { |
| | | return CommonResult.success(handheldTerminalService.search(size, current, state)); |
| | | @LogSave(operationType = "手持设备管理", contain = "查询") |
| | | public CommonResult<IPage<HandheldTerminalVo>> search(@RequestParam(required = true) Integer currentPage, |
| | | @RequestParam(required = true) Integer pageSize, |
| | | @RequestParam(required = false) Short state) { |
| | | return CommonResult.success(handheldTerminalService.search(pageSize, currentPage, state)); |
| | | } |
| | | |
| | | @PostMapping("/add") |