田爽 1 vuosi sitten
vanhempi
commit
9b26be9d63
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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}", "工单开启甄别流程失败");
         }
     }