/// <summary> /// 查询应急联动信息 /// </summary> /// <param name="id">模板ID</param> /// <returns></returns> public JC_EmergencyLinkageConfigInfo GetEmergencylinkageconfig(string analysisModelId) { try { BasicResponse <JC_EmergencyLinkageConfigInfo> emergencyLinkageResult = emergencyLinkageConfigService.GetJC_EmergencylinkageconfigByAnalysisModelId( new EmergencyLinkageConfigGetByAnalysisModelIdRequest() { AnalysisModelId = analysisModelId } ); return(emergencyLinkageResult.Data); } catch (Exception ex) { LogHelper.Error(ex.Message); } return(null); }
public BasicResponse <JC_EmergencyLinkageConfigInfo> GetJC_EmergencylinkageconfigByAnalysisModelId(EmergencyLinkageConfigGetByAnalysisModelIdRequest emergencyLinkageConfigGetByAnalysisModelIdRequest) { return(_EmergencyLinkageConfigService.GetJC_EmergencylinkageconfigByAnalysisModelId(emergencyLinkageConfigGetByAnalysisModelIdRequest)); }