cy
parent
5f438eb78c
commit
d9232a3a57
|
@ -30,11 +30,9 @@ public class LogsController {
|
|||
*/
|
||||
@Operation(summary = "查询日志列表",description = "查询用户操作日志列表")
|
||||
@GetMapping("/list")
|
||||
public Result<PageParam<Logs>> show(PageParam<Logs>page,String getLogsId){
|
||||
public Result<PageParam<Logs>> show(PageParam<Logs>page){
|
||||
LambdaQueryWrapper<Logs> queryWrapper = new LambdaQueryWrapper<>();
|
||||
if (StringUtils.isNotEmpty(getLogsId)){
|
||||
queryWrapper.select(Logs::getLogsId);//根据用户id查询
|
||||
}
|
||||
PageParam<Logs> pageDTO=service.page(page,queryWrapper);
|
||||
return Result.success(pageDTO);
|
||||
}
|
||||
|
@ -51,6 +49,7 @@ public class LogsController {
|
|||
return Result.success(null,"操作成功");
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 通过id查询信息
|
||||
* @param logsId
|
||||
|
|
Loading…
Reference in New Issue