Browse Source

Merge branch 'release' of http://git.12345lm.cn/Fengwo/hotline into release

qinchaoyue 6 tháng trước cách đây
mục cha
commit
a3dae35f62
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      src/Hotline.Api/Controllers/OrderController.cs

+ 4 - 0
src/Hotline.Api/Controllers/OrderController.cs

@@ -3515,6 +3515,10 @@ public class OrderController : BaseController
         }
 
         _mapper.Map(expiredTimeConfig, order);
+
+        if (dto.Workflow.BusinessType is EBusinessType.Department or EBusinessType.DepartmentLeader)
+            order.ProcessType = EProcessType.Jiaoban;
+
         await _orderRepository.UpdateAsync(order, HttpContext.RequestAborted);
 
         try