Browse Source

问题处理

田爽 7 months ago
parent
commit
5f5e639f65
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Hotline.Api/Controllers/OrderController.cs

+ 1 - 1
src/Hotline.Api/Controllers/OrderController.cs

@@ -2228,7 +2228,7 @@ public class OrderController : BaseController
     [LogFilter("更新甄别提起截至时限")]
     public async Task Update([FromBody] OrderScreenEndTimeDto dto)
     {
-        await _orderVisitedDetailRepository.Updateable().SetColumns(x => x.ScreenByEndTime = dto.ScreenByEndTime).Where(x => x.Id == dto.VisitDetailId).ExecuteCommandAsync();
+        await _orderVisitedDetailRepository.Updateable().SetColumns(x => new OrderVisitDetail { ScreenByEndTime = dto.ScreenByEndTime } ).Where(x => x.Id == dto.VisitDetailId).ExecuteCommandAsync();
     }
 
 	#endregion