예제 #1
0
        public string DRGSAna_GetxAxis(string Year)
        {
            string               s       = "";
            IDrgsgzlService      service = this.CreateSubClient();
            ICommunicationObject comm    = service as ICommunicationObject;

            comm.Using(client =>
            {
                s = service.DRGSAna_GetxAxis(Year);
            });
            return(s);
        }
예제 #2
0
        ///// <summary>
        ///// 根据名称查找对象(自定义接口使用范例)
        ///// </summary>
        //public List<DrgsgzlInfo> FindByName(string name)
        //{
        //    List<DrgsgzlInfo> result = new List<DrgsgzlInfo>();

        //    IDrgsgzlService service = CreateSubClient();
        //    ICommunicationObject comm = service as ICommunicationObject;
        //    comm.Using(client =>
        //    {
        //        result = service.FindByName(name);
        //    });

        //    return result;
        //}

        public bool InsertBatch(List <DrgsgzlInfo> list)
        {
            bool                 result  = false;
            IDrgsgzlService      service = this.CreateSubClient();
            ICommunicationObject comm    = service as ICommunicationObject;

            comm.Using(client =>
            {
                result = service.InsertBatch(list);
            });
            return(result);
        }
예제 #3
0
        /// <summary>
        /// 返回CMI折线图数据
        /// </summary>
        /// <param name="where"></param>
        /// <returns></returns>
        public DataTable DRGSAna_CMIAna(string where)
        {
            DataTable            dt      = new DataTable();
            IDrgsgzlService      service = this.CreateSubClient();
            ICommunicationObject comm    = service as ICommunicationObject;

            comm.Using(client =>
            {
                dt = service.DRGSAna_CMIAna(where);
            });
            return(dt);
        }
예제 #4
0
        /// <summary>
        /// DRGs绩效指标查询
        /// </summary>
        public List <ExpandoObject> DRGSAna_DRGsDetail(string BeginPeriod, string EndPeriod)
        {
            List <ExpandoObject> result = new List <ExpandoObject>();

            IDrgsgzlService      service = CreateSubClient();
            ICommunicationObject comm    = service as ICommunicationObject;

            comm.Using(client =>
            {
                result = service.DRGSAna_DRGsDetail(BeginPeriod, EndPeriod);
            });

            return(result);
        }