package com.red.circle.other.app.service.user.user;

import com.red.circle.common.business.dto.cmd.UserIdCmd;
import com.red.circle.other.app.command.user.query.UserGuardCountQryExe;
import com.red.circle.other.app.dto.clientobject.user.user.UserGuardCountCO;
import java.util.List;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * 用户统计相关 实现.
 *
 * @author pengliang on 2021/11/15
 */
@Service
@RequiredArgsConstructor
public class UserCountServiceImpl implements UserCountService {

  private final UserGuardCountQryExe userGuardCountQryExe;

  @Override
  public List<UserGuardCountCO> listUserGuardCountTop(UserIdCmd cmd) {
    return userGuardCountQryExe.execute(cmd);
  }

}
