获取第三方账号修改

dev
cjy 4 weeks ago
parent 3cfabb85cf
commit 9a59c848fa

@ -118,7 +118,7 @@ namespace DS.WMS.Core.HangfireJob.Method
}
else
{
return tenantDb.Queryable<CodeThirdParty>().First(x => x.AccountType == type);
return tenantDb.Queryable<CodeThirdParty>().First(x => x.AccountType == type && x.IsCompany == true);
}
}
else
@ -133,7 +133,7 @@ namespace DS.WMS.Core.HangfireJob.Method
}
else
{
return tenantDb.Queryable<CodeThirdParty>().First(x => x.AccountType == type);
return tenantDb.Queryable<CodeThirdParty>().First(x => x.AccountType == type && x.IsCompany == true);
}
}

@ -482,7 +482,7 @@ namespace DS.WMS.Core.Op.Method
}
else
{
return tenantDb.Queryable<CodeThirdParty>().First(x => x.AccountType == type);
return tenantDb.Queryable<CodeThirdParty>().First(x => x.AccountType == type && x.IsCompany == true);
}
}
else
@ -497,7 +497,7 @@ namespace DS.WMS.Core.Op.Method
}
else
{
return tenantDb.Queryable<CodeThirdParty>().First(x => x.AccountType == type);
return tenantDb.Queryable<CodeThirdParty>().First(x => x.AccountType == type && x.IsCompany == true);
}
}

Loading…
Cancel
Save