/// <summary>
        /// 获得日结属性字符串数组
        /// </summary>
        /// <param name="dayReport">日结信息实体</param>
        /// <returns>成功: 日结属性字符串数组 失败: null</returns>
        private string[] GetDayReportParams(Neusoft.HISFC.Models.Fee.DayReport dayReport)
        {
            string[] args =
            {
                //统计序号
                dayReport.StatNO,

                //开始时间

                dayReport.BeginDate.ToString(),
                //结束日期
                dayReport.EndDate.ToString(),

                //操作员代码

                dayReport.Oper.ID,
                //统计时间
                dayReport.Oper.OperTime.ToString(),

                //收取预交金金额

                dayReport.PrepayCost.ToString(),
                //贷方支票金额

                dayReport.DebitCheckCost.ToString(),
                //贷方银行卡金额

                dayReport.DebitBankCost.ToString(),
                //结算预交金金额

                dayReport.BalancePrepayCost.ToString(),
                //借方支票金额

                dayReport.LenderCheckCost.ToString(),
                //借方银行卡金额

                dayReport.LenderBankCost.ToString(),
                //公费记帐金额
                dayReport.BursaryPubCost.ToString(),
                //市医保帐户支付金额

                dayReport.CityMedicarePayCost.ToString(),
                //市医保统筹金额

                dayReport.CityMedicarePubCost.ToString(),
                //省医保帐户支付金额

                dayReport.ProvinceMedicarePayCost.ToString(),
                //省医保统筹金额

                dayReport.ProvinceMedicarePubCost.ToString(),
                //库存金额(上缴金额)
                dayReport.TurnInCash.ToString(),
                //预交金发票张数

                dayReport.PrepayInvCount.ToString(),
                //结算发票张数
                dayReport.BalanceInvCount.ToString(),
                //作废预交金发票号码

                dayReport.PrepayWasteInvNO,
                //作废结算发票号码
                dayReport.BalanceWasteInvNO,
                //作废预交金发票张数

                dayReport.PrepayWasteInvCount.ToString(),
                //作废结算发票张数
                dayReport.BalanceWasteInvCount.ToString(),
                //预交金发票区间

                dayReport.PrepayInvZone,
                //结算发票区间
                dayReport.BalanceInvZone,
                //收费员科室

                dayReport.Oper.Dept.ID,
                //结算总金额

                dayReport.BalanceCost.ToString()
            };

            return(args);
        }
 /// <summary>
 /// 插入日结信息
 /// </summary>
 /// <param name="dayReport">日结信息实体</param>
 /// <returns>成功: 1 失败 -1 没有插入数据 0</returns>
 public int InsertDayReport(Neusoft.HISFC.Models.Fee.DayReport dayReport)
 {
     return(this.UpdateSingleTable("Fee.InpatientDayReport.InsertDayReport", this.GetDayReportParams(dayReport)));
 }