田爽 1 år sedan
förälder
incheckning
9b26be9d63
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/Hotline.Api/Controllers/OrderController.cs

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

@@ -739,7 +739,7 @@ public class OrderController : BaseController
         }
         catch (Exception e)
         {
-            await Remove(id);
+            await _orderScreenRepository.RemoveAsync(id);
             throw new UserFriendlyException($"工单开启甄别流程失败!, {e.Message}", "工单开启甄别流程失败");
         }
     }