/// <summary> /// 检验数据 /// </summary> /// <param name="Id_rptlab"></param> /// <returns></returns> public IBindingList getCiRptItemList(string id_ent) { IBindingList list = new BindingList <CiRptLabItmDO>(); //CiRptLabItmDO[] labitems = labItemService.find("a1.Id_rptlab = '" + Id_rptlab + "'", Id_rptlab,FBoolean.False); CirptlabAggDO[] aggs = qryService.getCirptlabAggDO(id_ent); if (aggs != null && aggs.Count() > 0) { foreach (CirptlabAggDO agg in aggs) { foreach (CiRptLabItmDO item in agg.getCiRptLabItmDO()) { list.Add(item); } } } return(list); }