Prechádzať zdrojové kódy

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

Dun.Jason 7 mesiacov pred
rodič
commit
def44beb16

+ 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())