/// <summary> /// 加载数据 /// </summary> /// <returns></returns> public string frmLoadData() { TEnvPLakeVo TEnvPLake = new TEnvPLakeVo(); TEnvPLake.ID = Request["id"].ToString(); TEnvPLake.IS_DEL = "0"; TEnvPLakeVo TEnvPLakeTemp = new TEnvPLakeLogic().Details(TEnvPLake); //条件项ID string strConditionId = TEnvPLakeTemp.CONDITION_ID; //根据条件项获取评价标准名称 //string strStanderId = new i3.BusinessLogic.Channels.Base.Evaluation.TBaseEvaluationConInfoLogic().Details(strConditionId).STANDARD_ID; //根据评价标准ID获取评价标准名称 string strStanderName = new i3.BusinessLogic.Channels.Base.Evaluation.TBaseEvaluationInfoLogic().Details(strConditionId).STANDARD_NAME; TEnvPLakeTemp.REMARK1 = strStanderName; //获取流域名称 string strValley = new i3.BusinessLogic.Sys.Resource.TSysDictLogic().Details(TEnvPLakeTemp.VALLEY_ID).DICT_TEXT; TEnvPLakeTemp.REMARK2 = strValley; //获取河流名称 string strRiver = new i3.BusinessLogic.Sys.Resource.TSysDictLogic().Details(TEnvPLakeTemp.RIVER_ID).DICT_TEXT; TEnvPLakeTemp.REMARK3 = strRiver; return(ToJson(TEnvPLakeTemp)); }
/// <summary> /// 加载数据 /// </summary> /// <returns></returns> public string frmLoadData() { TEnvPointSeaVo TEnvPointSeaVo = new TEnvPointSeaVo(); TEnvPointSeaVo.ID = Request["id"].ToString(); TEnvPointSeaVo.IS_DEL = "0"; TEnvPointSeaVo TEnvPointSeaVoTemp = new TEnvPointSeaLogic().Details(TEnvPointSeaVo); //条件项ID string strConditionId = TEnvPointSeaVoTemp.CONDITION_ID; //根据条件项获取评价标准名称 //string strStanderId = new i3.BusinessLogic.Channels.Base.Evaluation.TBaseEvaluationConInfoLogic().Details(strConditionId).STANDARD_ID; //根据评价标准ID获取评价标准名称 string strStanderName = new i3.BusinessLogic.Channels.Base.Evaluation.TBaseEvaluationInfoLogic().Details(strConditionId).STANDARD_NAME; TEnvPointSeaVoTemp.REMARK1 = strStanderName; return(ToJson(TEnvPointSeaVoTemp)); }
/// <summary> /// 加载数据 /// </summary> /// <returns></returns> public string frmLoadData() { TEnvPRiverVo TEnvPRiver = new TEnvPRiverVo(); TEnvPRiver.ID = Request["id"].ToString(); TEnvPRiver.IS_DEL = "0"; TEnvPRiverVo TEnvPRiverVoTemp = new TEnvPRiverLogic().Details(TEnvPRiver); //条件项ID string strConditionId = TEnvPRiverVoTemp.CONDITION_ID; //根据条件项获取评价标准名称 //string strStanderId = new i3.BusinessLogic.Channels.Base.Evaluation.TBaseEvaluationConInfoLogic().Details(strConditionId).STANDARD_ID; //根据评价标准ID获取评价标准名称 //string strStanderName = new i3.BusinessLogic.Channels.Base.Evaluation.TBaseEvaluationInfoLogic().Details(strStanderId).STANDARD_NAME; string strStanderName = new i3.BusinessLogic.Channels.Base.Evaluation.TBaseEvaluationInfoLogic().Details(strConditionId).STANDARD_NAME; TEnvPRiverVoTemp.REMARK1 = strStanderName; //获取流域名称 string strValley = new i3.BusinessLogic.Sys.Resource.TSysDictLogic().Details(TEnvPRiverVoTemp.VALLEY_ID).DICT_TEXT; TEnvPRiverVoTemp.REMARK2 = strValley; //获取河流名称 string strRiver = new i3.BusinessLogic.Sys.Resource.TSysDictLogic().Details(TEnvPRiverVoTemp.RIVER_ID).DICT_TEXT; TEnvPRiverVoTemp.REMARK3 = strRiver; //类型 if (!string.IsNullOrEmpty(TEnvPRiverVoTemp.REMARK4)) { TSysDictVo vo = new TSysDictVo(); vo.DICT_TEXT = TEnvPRiverVoTemp.REMARK4; vo.DICT_TYPE = "ENV_RIVER"; TSysDictVo vos = new i3.BusinessLogic.Sys.Resource.TSysDictLogic().Details(vo); TEnvPRiverVoTemp.REMARK4 = vos.DICT_TEXT; } return(ToJson(TEnvPRiverVoTemp)); }