/// <summary> /// 获得数据字典详细信息 /// </summary> /// <param name="keyValue"></param> /// <returns></returns> public ItemsDetailEntity GetForm(string keyValue) { ResultClass <ItemsDetailEntity> _ret = service.FindEntity(keyValue); if (_ret.Result) { return(_ret.ResultData); } return(new ItemsDetailEntity()); }
public ItemsDetailEntity GetForm(string keyValue) { //cacheKey = cacheKey + "2_" + keyValue;//拼接有参key值 //var cacheEntity = cache.GetCache<ItemsDetailEntity>(cacheKey); //if (cacheEntity == null) //{ // cacheEntity = service.FindEntity(keyValue); // cache.WriteCache<ItemsDetailEntity>(cacheEntity, cacheKey, "UserCacheDependency", "Sys_ItemsDetail"); //} return(service.FindEntity(keyValue)); }
public ItemsDetailEntity GetForm(string keyValue) { return(service.FindEntity(keyValue)); }
public Sys_ItemsDetail GetForm(string keyValue) { return(service.FindEntity <Sys_ItemsDetail>(keyValue)); }
public SysItemsdetail GetForm(string keyValue) { return(service.FindEntity(keyValue)); }