예제 #1
0
        /// <summary>
        /// 检查数据
        /// </summary>
        /// <returns></returns>
        public IBindingList GetCiRptObsList(string id_ent)
        {
            IBindingList list = new BindingList <CiRptObsDO>();

            //CiRptObsDO[] cirptobs = obsService.find("a0.id_or = '" + id_or + "'", id_or, FBoolean.False);
            CiRptObsDO[] cirptobs = qryService.getCiRptObsDO(id_ent);
            if (cirptobs != null && cirptobs.Count() > 0)
            {
                foreach (CiRptObsDO obs in cirptobs)
                {
                    list.Add(obs);
                }
            }
            return(list);
        }