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

import com.red.circle.common.business.dto.cmd.AppExtCommand;
import com.red.circle.other.app.command.activity.FreightUserListCmdExe;
import com.red.circle.other.app.dto.clientobject.activity.ActivityUserCO;
import java.util.List;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * 货运代理活动.
 *
 * @author pengshigang on 2022/01/11
 */
@Service
@RequiredArgsConstructor
public class ActivityFreightUserBusinessServiceImpl implements ActivityFreightUserBusinessService {

  private final FreightUserListCmdExe freightUserListCmdExe;

  @Override
  public List<ActivityUserCO> listFreightUser(AppExtCommand cmd) {
    return freightUserListCmdExe.execute(cmd);
  }
}
