去掉注释
This commit is contained in:
parent
b07dcffa4a
commit
35a0f73a65
@ -166,18 +166,6 @@ namespace YD_YiLu.Api.Controllers
|
||||
[Route("/device/sync/grade/my_record")]
|
||||
public async Task<object> MyRecord([FromBody] DeviceSyncMyRecordRequestDto dto)
|
||||
{
|
||||
/*
|
||||
* fail: Microsoft.EntityFrameworkCore.Query[10100]
|
||||
An exception occurred while iterating over the results of a query for context type 'YD_YiLu.Api.Context.SmartSportsContext'.
|
||||
System.InvalidCastException: Unable to cast object of type 'System.Int32' to type 'System.Double'.
|
||||
at Microsoft.Data.SqlClient.SqlBuffer.get_Double()
|
||||
at lambda_method804(Closure , QueryContext , DbDataReader , ResultContext , SingleQueryResultCoordinator )
|
||||
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
|
||||
System.InvalidCastException: Unable to cast object of type 'System.Int32' to type 'System.Double'.
|
||||
at Microsoft.Data.SqlClient.SqlBuffer.get_Double()
|
||||
at lambda_method804(Closure , QueryContext , DbDataReader , ResultContext , SingleQueryResultCoordinator )
|
||||
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
|
||||
*/
|
||||
var res = await _deviceSyncService.MyRecordAsync(dto);
|
||||
return res;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user