Explorar el Código

Merge branch 'test' of http://110.188.24.182:10023/Fengwo/hotline into test

libin hace 1 semana
padre
commit
e30c9e31b9
Se han modificado 1 ficheros con 11 adiciones y 2 borrados
  1. 11 2
      src/Hotline.Api/Controllers/OrderRevocationController.cs

+ 11 - 2
src/Hotline.Api/Controllers/OrderRevocationController.cs

@@ -187,6 +187,13 @@ namespace Hotline.Api.Controllers
                                 order.ActualHandleTime = DateTime.Now;
                                 order.ActualHandlerId = _sessionContext.UserId;
 
+                                //自贡任务 579 设置撤销件后该工单需处理成中心归档非会签件
+                                if (_appOptions.Value.IsZiGong)
+                                {
+                                    order.CounterSignType = null;
+                                    order.FileOrgIsCenter = true;
+                                }
+
                                 await _orderRepository.Updateable(order).UpdateColumns(it => new
                                 {
                                     it.ActualHandleOrgName,
@@ -197,8 +204,10 @@ namespace Hotline.Api.Controllers
                                     it.ActualHandleOrgAreaName,
                                     it.ActualHandlerName,
                                     it.ActualHandleTime,
-                                    it.ActualHandlerId
-                                }).ExecuteCommandAsync();
+                                    it.ActualHandlerId,
+                                    it.CounterSignType,
+                                    it.FileOrgIsCenter
+                                }).ExecuteCommandAsync(HttpContext.RequestAborted);
 
                                 #endregion