소스 검색

问题处理

田爽 7 달 전
부모
커밋
5f5e639f65
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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