فهرست منبع

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

Dun.Jason 7 ماه پیش
والد
کامیت
def44beb16
1فایلهای تغییر یافته به همراه5 افزوده شده و 2 حذف شده
  1. 5 2
      src/Hotline.Application/Subscribers/DatasharingSubscriber.cs

+ 5 - 2
src/Hotline.Application/Subscribers/DatasharingSubscriber.cs

@@ -282,8 +282,11 @@ namespace Hotline.Application.Subscribers
             //        model.OrgName = org.Value;
             //    }
             //}
-            model.OrgId = order.CurrentHandleOrgId;
-            model.OrgName = order.CurrentHandleOrgName;
+            if (!string.IsNullOrEmpty(order.CurrentHandleOrgId) && !string.IsNullOrEmpty(order.CurrentHandleOrgName))
+            {
+                model.OrgId = order.CurrentHandleOrgId;
+                model.OrgName = order.CurrentHandleOrgName;
+            }
 
 
             if (dto.Files.Any())