|
|
|
@ -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);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|