安全待办

This commit is contained in:
李超 2023-04-29 19:42:54 +08:00
parent e084057b6b
commit a7b215109c
3 changed files with 51 additions and 5 deletions

View File

@ -272,3 +272,37 @@ IP地址:::1
出错时间:04/29/2023 17:44:44
错误信息开始=====>
错误类型:JsonReaderException
错误信息:Unexpected character encountered while parsing value: 未. Path '', line 0, position 0.
错误堆栈:
在 Newtonsoft.Json.JsonTextReader.ParseValue()
在 Newtonsoft.Json.JsonTextReader.Read()
在 Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
在 Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
在 Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
在 Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
在 Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value)
在 BLL.WeatherService.GetWeather(String projectId) 位置 D:\project\vs\sggl_cd\SGGL\BLL\Common\WeatherService.cs:行号 96
出错时间:04/29/2023 18:23:35
出错时间:04/29/2023 18:23:35
错误信息开始=====>
错误类型:JsonReaderException
错误信息:Unexpected character encountered while parsing value: 未. Path '', line 0, position 0.
错误堆栈:
在 Newtonsoft.Json.JsonTextReader.ParseValue()
在 Newtonsoft.Json.JsonTextReader.Read()
在 Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
在 Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
在 Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
在 Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
在 Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value)
在 BLL.WeatherService.GetWeather(String projectId) 位置 D:\project\vs\sggl_cd\SGGL\BLL\Common\WeatherService.cs:行号 96
出错时间:04/29/2023 18:40:55
出错时间:04/29/2023 18:40:55

View File

@ -19,10 +19,10 @@ namespace FineUIPro.Web.ToDo
}
void BindGrid()
{
//var getDataList = Funs.DB.Sp_APP_GetCQMSToDoItems(this.CurrUser.LoginProjectId, CurrUser.UserId).ToList();
//Grid1.DataSource = getDataList;
//Grid1.RecordCount = getDataList.Count;
//Grid1.DataBind();
var getDataList = Funs.DB.Sp_APP_GetHSSEToDoItems(this.CurrUser.LoginProjectId, CurrUser.UserId).ToList();
Grid1.DataSource = getDataList;
Grid1.RecordCount = getDataList.Count;
Grid1.DataBind();
}

View File

@ -34,7 +34,19 @@ namespace Model
IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)MethodInfo.GetCurrentMethod()), projectId, userId);
return (ISingleResult<ToDoItem>)result.ReturnValue;
}
/// <summary>
/// 获取当前用户在移动端待办事项
/// </summary>
/// <param name="unitcode"></param>
/// <param name="isono"></param>
/// <returns></returns>
[Function(Name = "[dbo].[Sp_APP_GetHSSEToDoItems]")]
public IEnumerable<ToDoItem> Sp_APP_GetHSSEToDoItems([Parameter(DbType = "nvarchar(50)")] string projectId, [Parameter(DbType = "nvarchar(50)")] string userId)
{
IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)MethodInfo.GetCurrentMethod()), projectId, userId);
return (ISingleResult<ToDoItem>)result.ReturnValue;
}
/// <summary>
/// 获取当前用户在本部待办事项
/// </summary>