コード例 #1
0
ファイル: YljxjjhzCaller.cs プロジェクト: zhang371615527/ces
        ///// <summary>
        ///// 根据名称查找对象(自定义接口使用范例)
        ///// </summary>
        //public List<YljxjjhzInfo> FindByName(string name)
        //{
        //    List<YljxjjhzInfo> result = new List<YljxjjhzInfo>();

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

        //    return result;
        //}

        public bool SaveExcelData(List <YljxjjhzInfo> list)
        {
            bool                 result  = false;
            IYljxjjhzService     service = this.CreateSubClient();
            ICommunicationObject comm    = service as ICommunicationObject;

            comm.Using(client =>
            {
                result = service.SaveExcelData(list);
            });
            return(result);
        }
コード例 #2
0
ファイル: YljxjjhzCaller.cs プロジェクト: zhang371615527/ces
        public bool Yljxjjhz_Insert(List <YljxjjhzInfo> listjj)
        {
            bool                 result  = false;
            IYljxjjhzService     service = this.CreateSubClient();
            ICommunicationObject comm    = service as ICommunicationObject;

            comm.Using(client =>
            {
                result = service.Yljxjjhz_Insert(listjj);
            });
            return(result);
        }
コード例 #3
0
ファイル: YljxjjhzCaller.cs プロジェクト: zhang371615527/ces
        /// <summary>
        /// 医疗绩效奖金汇总表Calculate
        /// </summary>
        public DataTable Yljxjjhz_Cal(string strYear, string strMonth, string strKSID, string strZXZD_ID)
        {
            DataTable result = new DataTable();

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

            comm.Using(client =>
            {
                result = service.Yljxjjhz_Cal(strYear, strMonth, strKSID, strZXZD_ID);
            });

            return(result);
        }
コード例 #4
0
ファイル: YljxjjhzCaller.cs プロジェクト: zhang371615527/ces
        /// <summary>
        /// 医疗绩效奖金汇总表
        /// </summary>
        public List <YljxjjhzInfo> Yljxjjhz_FWP(int intPageSize, int intPageCount, int mSizeBackup, string where)
        {
            List <YljxjjhzInfo> result = new List <YljxjjhzInfo>();

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

            comm.Using(client =>
            {
                result = service.Yljxjjhz_FWP(intPageSize, intPageCount, mSizeBackup, where);
            });

            return(result);
        }