LookupSource List logic adjust

This commit is contained in:
2020-04-29 15:28:38 +08:00
parent 990370777d
commit 6242642238
2 changed files with 7 additions and 3 deletions

View File

@ -275,10 +275,14 @@ namespace IronIntel.Contractor.Site
hasJobsite = true;
}
}
else if (q.QuestionType == QuestionTypes.EmailList)
{
hasEmail = true;
}
}
}
}
if (hasEmail)
//if (hasEmail)
{
ir.EmailList = aic.GetInspectEmailList(companyId, string.Empty);
}
@ -287,7 +291,7 @@ namespace IronIntel.Contractor.Site
var ac = CreateClient<AssetQueryClient>();
ir.AssetList = ac.GetAssetBasicInfoByUser(companyId, string.Empty, session.User.UID);
}
if (hasJobsite)
//if (hasJobsite)
{
var jc = CreateClient<JobSiteProvider>();
ir.JobSiteList = jc.GetJobSiteLimitItems(companyId, string.Empty);

2
Site

Submodule Site updated: a8a97bfcdf...23d7c999d9