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

import com.red.circle.other.infra.database.mongo.service.user.count.WeekFriendshipCardCountService;
import com.red.circle.other.app.inner.service.user.user.WeekFriendshipCardCountClientService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * 每周用户关系卡片统计.
 *
 * @author pengliang on 2023/10/17
 */
@Service
@RequiredArgsConstructor
public class WeekFriendshipCardCountClientServiceImpl implements
    WeekFriendshipCardCountClientService {

  private final WeekFriendshipCardCountService weekFriendshipCardCountService;

  @Override
  public void incrThisWeekQuantity(String sysOrigin, String cardType, Long userIdOne,
      Long userIdTwo, Long quantity) {
    weekFriendshipCardCountService.incrThisWeekQuantity(sysOrigin, cardType, userIdOne, userIdTwo,
        quantity);
  }
}
