田爽 7 mesiacov pred
rodič
commit
5f5e639f65

+ 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