package thyyxxk.webserver.service.yj_req;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import thyyxxk.webserver.dao.his.examinations.MzYjReqDao;
import thyyxxk.webserver.entity.yiji.IndexInquiry;
import thyyxxk.webserver.entity.yiji.YjReqIndex;

import java.util.List;

@Service
public class MzYjReqService implements YjReqInterface {
    private final MzYjReqDao dao;

    @Autowired
    public MzYjReqService(MzYjReqDao dao) {
        this.dao = dao;
    }

    @Override
    public List<YjReqIndex> queryYjReqIndex(IndexInquiry inquiry) {
        return dao.getYjReqIndex(inquiry);
    }

}
