package yangtz.cs.liu.campus.service.impl.notificationGroup;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import yangtz.cs.liu.campus.domain.notificationGroup.SchoolNotificationUser;
import yangtz.cs.liu.campus.mapper.notificationGroup.SchoolNotificationUserMapper;
import yangtz.cs.liu.campus.service.notificationGroup.SchoolNotificationUserService;

/**
 * 通知组(SchoolNotificationGroup)表服务实现类
 *
 * @author zxw
 * @since 2023-08-18 11:04:52
 */
@Service
public class SchoolNotificationUserServiceImpl extends
    ServiceImpl<SchoolNotificationUserMapper, SchoolNotificationUser> implements
    SchoolNotificationUserService {

  @Autowired
  private  SchoolNotificationUserMapper schoolNotificationUserMapper;
  @Override
  public SchoolNotificationUser getOneNotificationUser(SchoolNotificationUser schoolNotificationUser) {

    return schoolNotificationUserMapper.getOneNotificationUser(schoolNotificationUser.getNotificationId(),schoolNotificationUser.getUserId());
  }
}

