| | |
| | | } |
| | | if (!string.IsNullOrEmpty(PaymentUnit)) |
| | | { |
| | | fromSource += string.Format(" and a.PaymentUnit='{0}'", PaymentUnit); |
| | | fromSource += string.Format(" and a.PaymentUnit like '%{0}%'", PaymentUnit); |
| | | } |
| | | |
| | | IList<Model.OA_FirmAccountRecord> m_OA_FirmAccountRecordList = _dataBase.SelectModel<Model.OA_FirmAccountRecord>(target, fromSource + " group by RecordTypeId"); |
| | |
| | | this.AllIncomeMoney.InnerText = (m_OA_FirmAccountRecord.AllIncomeMoney??0).ToString("0.00"); |
| | | this.AllExpensesMoney.InnerText = (m_OA_FirmAccountRecord.AllExpensesMoney ??0).ToString("0.00"); |
| | | } |
| | | else |
| | | { |
| | | this.AllIncomeMoney.InnerText = "0.00"; |
| | | this.AllExpensesMoney.InnerText = "0.00"; |
| | | } |
| | | } |
| | | |
| | | protected void InitialData() |