package com.red.circle.console.app.service.admin;

import com.red.circle.console.app.command.admin.query.OperationReqLogPageQryExe;
import com.red.circle.console.app.dto.clienobject.admin.OperationLogCO;
import com.red.circle.console.app.dto.cmd.admin.PageOperationLogQryCmd;
import com.red.circle.framework.dto.PageResult;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * 管理后台，日志记录服务 实现.
 *
 * @author pengliang on 2023/5/11
 */
@Service
@RequiredArgsConstructor
public class OperationReqLogServiceImpl implements OperationReqLogService {

  private final OperationReqLogPageQryExe operationReqLogPageQryExe;

  @Override
  public PageResult<OperationLogCO> pageLog(PageOperationLogQryCmd cmd) {
    return operationReqLogPageQryExe.execute(cmd);
  }

}
