/// <summary> Gets 获取选中的医嘱 </summary> /// <returns></returns> /// Author:admi /// Date:2015-10-21 public CiOrderDO[] GetOrconfirmChecked() { var list = new XapDataList <OrConfirm>(); foreach (OrConfirm confirm in OrderList) { if (confirm.Fg_chk == true) { list.Add(confirm); } } List <string> id_ors = list.Select(p => p.Id_confirm).ToList(); orders = ordService.findByIds(id_ors.ToArray(), FBoolean.False); //TODO: 加条件 return(orders); }