using CLIP.eForm.Consent.Entity; using CLIP.eForm.Server.Data; using IBatisNet.DataMapper; using System; using System.Collections; using System.Collections.Generic; namespace CLIP.eForm.Consent.Dac { //class FormCategoryDac public class PatListDac : DacBase { public IList GetPatList(ISqlMapper mapper, Hashtable param) { IList result = null; String flag = (String)param["selectFlag"]; if(flag.Equals("I"))//입원환자 리스트 { return mapper.QueryForList("getInPatList", param); } else if(flag.Equals("O"))//외래환자 리스트 { return mapper.QueryForList("getOutPatList", param); } else if(flag.Equals("OP"))//수술환자 리스트 { return mapper.QueryForList("getOpPatList", param); } else if(flag.Equals("E"))//응급실환자 리스트 { return mapper.QueryForList("getErPatList", param); } else { return result; } } public IList GetSrchPatInfo(ISqlMapper mapper, Hashtable param) { return mapper.QueryForList("getSrchPatInfo", param); } public IList GetDeptList(ISqlMapper mapper, Hashtable param) { return mapper.QueryForList("getDeptList", param); } public IList GetWardList(ISqlMapper mapper, Hashtable param) { return mapper.QueryForList("getWardList", param); } public IList GetDocList(ISqlMapper mapper, Hashtable param) { return mapper.QueryForList("getDocList", param); } } }