package thyyxxk.webserver.service.inpatient;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import thyyxxk.webserver.dao.his.inpatient.DoctorsAdviseDao;
import thyyxxk.webserver.entity.inpatient.doctorsadvise.BriefPatInfo;

import java.util.List;

@Service
public class DoctorsAdviseService {
    private final DoctorsAdviseDao dao;

    @Autowired
    public DoctorsAdviseService(DoctorsAdviseDao dao) {
        this.dao = dao;
    }

    public List<BriefPatInfo> selectPatientList(String ward) {
        return dao.selectPatientList(ward);
    }
}
