diff --git a/SGGL/BLL/PZHGL/GJSX/GJSXMonitorService.cs b/SGGL/BLL/PZHGL/GJSX/GJSXMonitorService.cs
index a96ed6a8..7f0cc98a 100644
--- a/SGGL/BLL/PZHGL/GJSX/GJSXMonitorService.cs
+++ b/SGGL/BLL/PZHGL/GJSX/GJSXMonitorService.cs
@@ -113,7 +113,7 @@ namespace BLL
{
foreach (var item in acceptanceItems)
{
- tbodyStr.Append($"
{index} | 本人负责 | {item.UnitName} | {item.ProjectName} | {item.Detail} | {item.GJSXTypeName} | {item.UserName} | {item.User_AcceptanceUserName} | {item.CompleteDate.ToShortDateString()} | {(item.DateDiffDays > 0 ? item.DateDiffDays : "半")} |
");
+ tbodyStr.Append($"{index} | 本人负责 | {item.UnitName} | {item.Detail} | {item.GJSXTypeName} | {item.UserName} | {item.User_AcceptanceUserName} | {item.CompleteDate.ToShortDateString()} | {(item.DateDiffDays > 0 ? item.DateDiffDays : "半")} |
");
index++;
}
}
@@ -123,7 +123,7 @@ namespace BLL
{
foreach (var item in userItems)
{
- tbodyStr.Append($"{index} | 本人发起 | {item.UnitName} | {item.ProjectName} | {item.Detail} | {item.GJSXTypeName} | {item.UserName} | {item.User_AcceptanceUserName} | {item.CompleteDate.ToShortDateString()} | {(item.DateDiffDays > 0 ? item.DateDiffDays : "半")} |
");
+ tbodyStr.Append($"{index} | 本人发起 | {item.UnitName} | {item.Detail} | {item.GJSXTypeName} | {item.UserName} | {item.User_AcceptanceUserName} | {item.CompleteDate.ToShortDateString()} | {(item.DateDiffDays > 0 ? item.DateDiffDays : "半")} |
");
index++;
}
}
@@ -133,7 +133,7 @@ namespace BLL
{
foreach (var item in receiveItems)
{
- tbodyStr.Append($"{index} | 本人跟踪 | {item.UnitName} | {item.ProjectName} | {item.Detail} | {item.GJSXTypeName} | {item.UserName} | {item.User_AcceptanceUserName} | {item.CompleteDate.ToShortDateString()} | {(item.DateDiffDays > 0 ? item.DateDiffDays : "半")} |
");
+ tbodyStr.Append($"{index} | 本人跟踪 | {item.UnitName} | {item.Detail} | {item.GJSXTypeName} | {item.UserName} | {item.User_AcceptanceUserName} | {item.CompleteDate.ToShortDateString()} | {(item.DateDiffDays > 0 ? item.DateDiffDays : "半")} |
");
index++;
}
}
@@ -143,7 +143,7 @@ namespace BLL
{
foreach (var item in csUserItems)
{
- tbodyStr.Append($"{index} | 抄送本人 | {item.UnitName} | {item.ProjectName} | {item.Detail} | {item.GJSXTypeName} | {item.UserName} | {item.User_AcceptanceUserName} | {item.CompleteDate.ToShortDateString()} | {(item.DateDiffDays > 0 ? item.DateDiffDays : "半")} |
");
+ tbodyStr.Append($"{index} | 抄送本人 | {item.UnitName} | {item.Detail} | {item.GJSXTypeName} | {item.UserName} | {item.User_AcceptanceUserName} | {item.CompleteDate.ToShortDateString()} | {(item.DateDiffDays > 0 ? item.DateDiffDays : "半")} |
");
index++;
}
}
@@ -164,14 +164,13 @@ namespace BLL
关键事项超期预警提醒
-中国五环智慧施工管理信息系统
+请点击此处,查看详细信息,并及时处置关闭
序号 |
类型 |
责任单位 |
- 项目名称 |
事项描述 |
事项类别 |
发起人 |
diff --git a/SGGL/WebAPI/Controllers/PZHGL/GJSXController.cs b/SGGL/WebAPI/Controllers/PZHGL/GJSXController.cs
index aaaa6bd2..66753066 100644
--- a/SGGL/WebAPI/Controllers/PZHGL/GJSXController.cs
+++ b/SGGL/WebAPI/Controllers/PZHGL/GJSXController.cs
@@ -1,4 +1,5 @@
using BLL;
+using Model;
using System;
using System.Web.Http;
@@ -19,7 +20,12 @@ namespace WebAPI.Controllers
var responeData = new Model.ResponeData();
try
{
- GJSXMonitorService.OverdueWarningSendEmail();
+ //获取公司发送者邮箱配置
+ Email_Pop pops = BLL.Email_PopService.GetEmail_Pop("7EC5E991-B7A0-495A-90ED-2BE15370C959");
+ if (pops != null)
+ {
+ GJSXMonitorService.OverdueWarningSendEmail();
+ }
}
catch (Exception ex)
{