去掉注释

This commit is contained in:
tanglong 2026-07-01 15:38:48 +08:00
parent b07dcffa4a
commit 35a0f73a65

View File

@ -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;
}