Browse Source

退回审批拒绝

田爽 9 months ago
parent
commit
cfc2c0620f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Hotline.Api/Controllers/OrderController.cs

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

@@ -3798,9 +3798,9 @@ public class OrderController : BaseController
             await _orderRepository.Updateable().SetColumns(o => new Orders.Order() { ProcessType = processType })
             await _orderRepository.Updateable().SetColumns(o => new Orders.Order() { ProcessType = processType })
                 .Where(o => o.Id == sendBack.OrderId).ExecuteCommandAsync(HttpContext.RequestAborted);
                 .Where(o => o.Id == sendBack.OrderId).ExecuteCommandAsync(HttpContext.RequestAborted);
             //发送短信TODO
             //发送短信TODO
-            await _orderSendBackAuditRepository.UpdateAsync(sendBack, HttpContext.RequestAborted);
         }
         }
-    }
+        await _orderSendBackAuditRepository.UpdateAsync(sendBack, HttpContext.RequestAborted);
+	}
 
 
     /// <summary>
     /// <summary>
     /// 工单业务批量退回审批
     /// 工单业务批量退回审批