Browse Source

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

xf 6 tháng trước cách đây
mục cha
commit
efe9b88712
1 tập tin đã thay đổi với 7 bổ sung1 xóa
  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