|
@@ -68,7 +68,10 @@ namespace ZhonTai.Admin.Services.DiTuiAPI
|
|
|
}
|
|
|
var org = await _orgRepository.Select.Where(a => a.Code == platform).DisableGlobalFilter()
|
|
|
.FirstAsync(a => new { a.Name, a.TenantId });
|
|
|
-
|
|
|
+ if(org is null)
|
|
|
+ {
|
|
|
+ throw ResultOutput.Exception($"未查询到相关平台信息,请核实Platform");
|
|
|
+ }
|
|
|
|
|
|
using (_platformUserRepository.DataFilter.DisableAll())
|
|
|
{
|