package com.yihu.wlyy.service.common;

import javax.transaction.Transactional;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.yihu.wlyy.repository.doctor.DoctorDao;
import com.yihu.wlyy.repository.patient.PatientDao;
import com.yihu.wlyy.service.BaseService;

@Component
@Transactional(rollbackOn = Exception.class)
public class ImportDataService extends BaseService {

	@Autowired
	private DoctorDao doctorDao;
	@Autowired
	private PatientDao patientDao;
//	@Autowired
//	private DoctorPatientGroupInfoDao doctorPatientGroupInfoDao;

	
//	public void importSignData(List<Patient> patients, List<SignContract> scs, List<DoctorTeam> dts, List<DoctorTeamInfo> dtis, List<DoctorPatientGroupInfo> dptis){
//		patientDao.save(patients);
//		signContractDao.save(scs);
//		doctorTeamDao.save(dts);
//		doctorTeamInfoDao.save(dtis);
//		doctorPatientGroupInfoDao.save(dptis);
//	}


}
