/// <summary>
        /// 更新大数据分析模型缓存
        /// </summary>
        /// <param name="largeDataAnalysisConfigCache"></param>
        /// <returns></returns>
        public BasicResponse UpdateLargeDataAnalysisConfigCahce(LargeDataAnalysisConfigCacheUpdateRequest largeDataAnalysisConfigCache)
        {
            var requestInfo = largeDataAnalysisConfigCache.LargeDataAnalysisConfigInfo;

            //BasicResponse<JC_LargedataAnalysisConfigInfo> findResponse = largeDataAnalysisConfigCacheService.GetLargeDataAnalysisConfigCacheByKey(new LargeDataAnalysisConfigCacheGetByKeyRequest() { Id = requestInfo.Id });
            //if (!findResponse.IsSuccess || findResponse.Data == null || findResponse.Data.UpdatedTime > requestInfo.UpdatedTime)
            //    return new BasicResponse();
            largeDataAnalysisConfigCacheService.UpdateLargeDataAnalysisConfigCahce(largeDataAnalysisConfigCache);
            return(new BasicResponse());
        }
 public BasicResponse UpdateLargeDataAnalysisConfigCahce(LargeDataAnalysisConfigCacheUpdateRequest largeDataAnalysisConfigCache)
 {
     LargeDataAnalysisConfigCache.LargedataAnalysisConfigCahceInstance.UpdateItem(largeDataAnalysisConfigCache.LargeDataAnalysisConfigInfo);
     return(new BasicResponse());
 }
 public BasicResponse UpdateLargeDataAnalysisConfigCahce(LargeDataAnalysisConfigCacheUpdateRequest largeDataAnalysisConfigCache)
 {
     return(largeDataAnalysisCacheClientService.UpdateLargeDataAnalysisConfigCahce(largeDataAnalysisConfigCache));
 }
Beispiel #4
0
        public BasicResponse UpdateLargeDataAnalysisConfigCahce(LargeDataAnalysisConfigCacheUpdateRequest largeDataAnalysisConfigCache)
        {
            var responsestr = HttpClientHelper.Post(Webapi + "/v1/LargeDataAnalysisCache/UpdateLargeDataAnalysisConfigCahce?token=" + Token, JSONHelper.ToJSONString(largeDataAnalysisConfigCache));

            return(JSONHelper.ParseJSONString <BasicResponse>(responsestr));
        }