| | |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "查询单条") |
| | | @ApiOperation(value = "根据ID查询") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "int", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectOne") |
| | | public ResponseMsg<ArgsEntity> selectOne(int id) { |
| | | @GetMapping(value = "/selectById") |
| | | public ResponseMsg<ArgsEntity> selectById(int id) { |
| | | try { |
| | | ArgsEntity argsEntity = argsService.selectOne(id); |
| | | ArgsEntity argsEntity = argsService.selectById(id); |
| | | |
| | | return success(argsEntity); |
| | | } catch (Exception ex) { |