package com.yd.dal.service.practitioner.impl;

import com.yd.dal.entity.practitioner.article.ArticleTrackQueryInfo;
import com.yd.dal.mapper.practitioner.PractitionerArticleMapper;
import com.yd.dal.service.practitioner.PractitionerArticleDALService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("practitionerArticleDALService")
public class PractitionerArticleDALServiceImpl implements PractitionerArticleDALService {

    @Resource
    private PractitionerArticleMapper mapper;

    @Override
    public List<ArticleTrackQueryInfo> articleTrackQuery(Long practitionerId, Long sharingId) {
        return mapper.articleTrackQuery(practitionerId,sharingId);
    }
}
