Beispiel #1
0
        /// <summary>
        /// 编辑分析模型
        /// </summary>
        /// <param name="data"></param>
        /// <returns></returns>
        public string EditLargedataAnalysisConfig(LargedataAnalysisConfigBusinessModel data)
        {
            BasicResponse <JC_LargedataAnalysisConfigInfo> largedataAnalysisConfigResult =
                largedataAnalysisConfigService.UpdateLargeDataAnalysisConfig(
                    new LargedataAnalysisConfigUpdateRequest()
            {
                JC_LargedataAnalysisConfigInfo = data.LargedataAnalysisConfigInfo
            });

            if (largedataAnalysisConfigResult.IsSuccess)
            {
                data.LargedataAnalysisConfigInfo = largedataAnalysisConfigResult.Data;
                return(string.Empty);
            }
            else
            {
                return(largedataAnalysisConfigResult.Message);
            }
        }
Beispiel #2
0
 public BasicResponse <JC_LargedataAnalysisConfigInfo> UpdateLargeDataAnalysisConfig(LargedataAnalysisConfigUpdateRequest jc_LargedataAnalysisConfigRequest)
 {
     return(_largedataAnalysisConfigService.UpdateLargeDataAnalysisConfig(jc_LargedataAnalysisConfigRequest));
 }