public XapDataList <EmsObsItemDO> GetObsList(string id_srv) { XapDataList <EmsObsItemDO> list = new XapDataList <EmsObsItemDO>(); MedSrvRisDO[] ris = service.find(string.Format("a2.id_srv='{0}'", id_srv), "", false);//调用此服务报错 ris.ToList().ForEach(p => list.Add( new EmsObsItemDO { Id_body = p.Id_body, Sd_body = p.Sd_body, Id_pos = p.Id_pos, Sd_pos = p.Sd_pos, Name_body = p.Name_body, Name_pos = p.Name_pos, Name_srv = p.Srv_name } )); return(list); }
public MedSrvRisDO[] getMedSrvRisDO(string id_srvs) { return(risservice.find(string.Format("a1.id_srv in '{0}'", id_srvs), "", false)); }