sync
This commit is contained in:
@ -93,6 +93,9 @@ namespace IronIntel.Contractor.Site.Maintenance
|
||||
else
|
||||
endDate = endDate.Date.AddDays(1).AddSeconds(-1);
|
||||
|
||||
beginDate = SystemParams.CustomerDetail.CustomerTimeToUtc(beginDate);
|
||||
endDate = SystemParams.CustomerDetail.CustomerTimeToUtc(endDate);
|
||||
|
||||
int assigned = -1;
|
||||
int completed = -1;
|
||||
if (alertparam.AlertStatus != null && alertparam.AlertStatus.Length > 0)
|
||||
@ -149,6 +152,9 @@ namespace IronIntel.Contractor.Site.Maintenance
|
||||
else
|
||||
endDate = endDate.Date.AddDays(1).AddSeconds(-1);
|
||||
|
||||
beginDate = SystemParams.CustomerDetail.CustomerTimeToUtc(beginDate);
|
||||
endDate = SystemParams.CustomerDetail.CustomerTimeToUtc(endDate);
|
||||
|
||||
int assigned = -1;
|
||||
int completed = -1;
|
||||
if (alertparam.AlertStatus != null && alertparam.AlertStatus.Length > 0)
|
||||
@ -261,7 +267,7 @@ namespace IronIntel.Contractor.Site.Maintenance
|
||||
endDate = DateTime.MaxValue;
|
||||
else
|
||||
endDate = endDate.Date.AddDays(1).AddSeconds(-1);
|
||||
|
||||
|
||||
alertparam.AlertStatus = new string[0];
|
||||
AlertManager am = new AlertManager(SystemParams.DataDbConnectionString);
|
||||
AlertInfo[] alerts = am.SearchAcknowledgedAlerts(session.SessionID, alertparam.SearchText, alertparam.AlertStatus, alertparam.AlertTypes, alertparam.AssetGroups, beginDate, endDate, session.User.UID);
|
||||
|
Reference in New Issue
Block a user