/// <summary> /// 加载每日数据 /// </summary> /// <param name="date"></param> /// <returns></returns> private DailySalesData LoadDailyData(string date) { if (!allDailydataSaleDataDict.ContainsKey(date)) { bool isCreate = false; DailySalesData dailySalesData = ConfigDataManager.LoadDailyData(date); if (dailySalesData == null) { dailySalesData = new DailySalesData(); dailySalesData.Date = date; isCreate = true; } allDailydataSaleDataDict[date] = dailySalesData; if (isCreate) { CalculateData(date); SaveChange(date); } } return(allDailydataSaleDataDict[date]); }