Цей коміт міститься в:
2023-07-12 16:30:25 +05:30
джерело 6f2316681c
коміт ea99bb9cc6
+4 -1
Переглянути файл
@@ -14,7 +14,7 @@ namespace Bizgaze.CRM.Visitors.Infos
{ {
public enum Property public enum Property
{ {
VisitorId, StageId, TenantId, StatusId, PurposeOfVisit, Title, SeriesId, Code, Reason, EmailId, ComingFrom, VersionguId, MobileNumber, FullName, NewCheckIn, PreInvite, AccessCode, FutureInvitation, TimeOfVisit, DateOfVisit, HostName, OrganizationName, TitleName, VisitorType, TemplateId, Installedappid, PhotoUrl, CreatedDate, StageStatusName, RefStatusId, AlternateNumber, ImageUrl, VisitorNumberId, VisitorEmailId VisitorId, StageId, TenantId, StatusId, PurposeOfVisit, Title, SeriesId, Code, Reason, EmailId, ComingFrom, VersionguId, MobileNumber, FullName, NewCheckIn, PreInvite, AccessCode, FutureInvitation, TimeOfVisit, DateOfVisit, HostName, OrganizationName, TitleName, VisitorType, TemplateId, Installedappid, PhotoUrl, CreatedDate, StageStatusName, RefStatusId, AlternateNumber, ImageUrl, VisitorNumberId, VisitorEmailId, Agreement, LastUpdatedDate
} }
#region Public Properties #region Public Properties
@@ -51,6 +51,7 @@ namespace Bizgaze.CRM.Visitors.Infos
public Boolean Agreement { get; set; } public Boolean Agreement { get; set; }
public string PhotoUrl { get; set; } public string PhotoUrl { get; set; }
public string ImageUrl { get; set; } public string ImageUrl { get; set; }
public DateTime LastUpdatedDate { get; set; }
#endregion #endregion
public string __TableName public string __TableName
{ {
@@ -99,6 +100,8 @@ namespace Bizgaze.CRM.Visitors.Infos
"v.tenantid", "v.tenantid",
"v.visitortype", "v.visitortype",
"v.seriesid", "v.seriesid",
"v.agreement",
"v.lastupdateddate",
"(select imageurl from bizgazecrm_companies where companyid="+CompanyId+") as imageurl", "(select imageurl from bizgazecrm_companies where companyid="+CompanyId+") as imageurl",
"Case when purposeofvisit=1 then 'Interview' when purposeofvisit=2 then 'Official Meeting' when purposeofvisit=3 then 'Meeting an Employee' when purposeofvisit=4 then 'Package Delivery' when purposeofvisit=5 then 'Others' end as purposeofvisittype", "Case when purposeofvisit=1 then 'Interview' when purposeofvisit=2 then 'Official Meeting' when purposeofvisit=3 then 'Meeting an Employee' when purposeofvisit=4 then 'Package Delivery' when purposeofvisit=5 then 'Others' end as purposeofvisittype",
"concat(e.firstname, e.lastname) AS HostName", "concat(e.firstname, e.lastname) AS HostName",