using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using CnasSynchrousModel; namespace CnasLocalIDAL { public interface ILaboratoryTest { /// /// 获取所有数据 /// /// List GetAllLaboratoryTests(); /// /// 根据类型获取数据 /// /// /// List GetLaboratoryTestsByType(string strType); /// /// 获取没有上传过的数据 /// /// List GetLaboratoryTestsByNoUpLoad(); /// /// 根据类型和上次上传的最大时间获取数据 /// /// /// List GetLaboratoryTestsByTypeAndDate(Dictionary dictType); /// /// 获取所有数据,返回dataTable /// /// DataTable GetAllLaboratoryTestsToDT(); /// /// 根据类型获取所有数据,返回dataTable /// /// /// DataTable GetLaboratoryTestsByTypeToDT(string strType); /// /// 插入一条数据,成功返回1 /// /// /// int InsertLaboratory(LaboratoryTest test); /// /// 更新一条数据,成功返回1 /// /// /// int UpdateLaboratory(LaboratoryTest test); /// /// 删除一条数据,成功返回1 /// /// /// int DeleteLaboratory(LaboratoryTest test); } }