public void setWholeData(OrSrvSplitParamDTO param) { Debug.WriteLine("helloworld:DiagtreatCardViewModel:setWholeData 后台查询开始:" + DateTime.Now.ToString("yyyy/MM/dd HH:mm:ss fff")); DiagTreatViewRntDataDTO diagTreatViewRntData = qryService.getDiagTreatViewData(param); Debug.WriteLine("helloworld:DiagtreatCardViewModel:setWholeData 后台查询结束:" + DateTime.Now.ToString("yyyy/MM/dd HH:mm:ss fff")); if (param.Dt_split_start == null) { param.Dt_split_start = diagTreatViewRntData.Dt_start; } if (param.Dt_split_end == null) { param.Dt_split_end = diagTreatViewRntData.Dt_end; } //DiagTreatInit.dtacept = diagTreatViewRntData.Dt_start; //DiagTreatInit.enddate = diagTreatViewRntData.Dt_end; dtacept = diagTreatViewRntData.Dt_start; enddate = diagTreatViewRntData.Dt_end; NewCacheUtils.setDate4Dic(param.Dt_split_start.Value, param.Dt_split_end.Value, diagTreatViewRntData.Mrctmcas); NewCacheUtils.writeViewData(diagTreatViewRntData, true); Debug.WriteLine("helloworld:DiagtreatCardViewModel:setWholeData 加载缓存结束:" + DateTime.Now.ToString("yyyy/MM/dd HH:mm:ss fff")); //var i = 1; }