Browse Source

撤销信件新增实际办理人

tangjiang 6 months ago
parent
commit
513436a30b
1 changed files with 7 additions and 1 deletions
  1. 7 1
      src/Hotline.Api/Controllers/OrderRevocationController.cs

+ 7 - 1
src/Hotline.Api/Controllers/OrderRevocationController.cs

@@ -130,6 +130,9 @@ namespace Hotline.Api.Controllers
                             order.ActualHandleOrgName = OrgSeedData.CenterName;
                             order.OrgLevelOneCode = OrgSeedData.CenterId;
                             order.OrgLevelOneName = OrgSeedData.CenterName;
+                            order.ActualHandlerName = _sessionContext.UserName;
+                            order.ActualHandleTime = DateTime.Now;
+                            order.ActualHandlerId = _sessionContext.UserId;
 
                             await _orderRepository.Updateable(order).UpdateColumns(it => new
                             {
@@ -138,7 +141,10 @@ namespace Hotline.Api.Controllers
                                 it.OrgLevelOneCode,
                                 it.OrgLevelOneName,
                                 it.ActualHandleOrgAreaCode,
-                                it.ActualHandleOrgAreaName
+                                it.ActualHandleOrgAreaName,
+                                it.ActualHandlerName,
+                                it.ActualHandleTime,
+                                it.ActualHandlerId
                             }).ExecuteCommandAsync();
                             #endregion