|
@@ -84,7 +84,7 @@ namespace OASystem.API.OAMethodLib.QiYeWeChatAPI.AppNotice
|
|
|
|
|
|
<font color='comment'>- </font>当前团组费用待审核数量: {6}
|
|
|
|
|
|
-[详细信息请前往OA系统查看](http://oa.pan-american-intl.com:4399/) ", info.TeamName, info.PriceModule, info.PriceName, info.Price, info.CreateUser, info.CreateDt, info.QueueCount,info.TitleStr);
|
|
|
+[详细信息请前往OA系统查看](http://oa.pan-american-intl.com:4399/) ", info.TeamName, info.PriceModule, info.PriceName, info.Price, info.CreateUser, info.CreateDt, info.QueueCount, info.TitleStr);
|
|
|
|
|
|
return result;
|
|
|
}
|
|
@@ -173,22 +173,33 @@ namespace OASystem.API.OAMethodLib.QiYeWeChatAPI.AppNotice
|
|
|
if (list_7day.Count > 0)
|
|
|
{
|
|
|
teamNames1 = "";
|
|
|
- list_7day.ForEach(s => teamNames1 += ">" + s.TeamName + "\n\n");
|
|
|
+ foreach (var item in list_7day)
|
|
|
+ {
|
|
|
+ string startDt = item.VisitStartDate.ToString("yyyy-MM-dd");
|
|
|
+ teamNames1 += ">(" + startDt + ")" + item.TeamName + " \n\n";
|
|
|
+ }
|
|
|
+
|
|
|
+ //list_7day.ForEach(s => teamNames1 += ">" + s.TeamName + "\n\n");
|
|
|
}
|
|
|
|
|
|
if (list_3day.Count > 0)
|
|
|
{
|
|
|
teamNames2 = "";
|
|
|
- list_3day.ForEach(s => teamNames2 += ">" + s.TeamName + "\n\n");
|
|
|
+ foreach (var item in list_3day)
|
|
|
+ {
|
|
|
+ string endDt = item.VisitEndDate.ToString("yyyy-MM-dd");
|
|
|
+ teamNames2 += ">(" + endDt + ")" + item.TeamName + " \n\n";
|
|
|
+ }
|
|
|
+ //list_3day.ForEach(s => teamNames2 += ">" + s.TeamName + "\n\n");
|
|
|
}
|
|
|
|
|
|
|
|
|
string result = string.Format(@" `团组状态提醒`
|
|
|
|
|
|
-><font color='warning'> - 下列团组将于7天后出发:</font>
|
|
|
+><font color='warning'> - 下列团组将于7天内出发:</font>
|
|
|
{0}
|
|
|
|
|
|
-><font color='warning'> - 下列团组将于3天后结束:</font>
|
|
|
+><font color='warning'> - 下列团组将于3天内结束:</font>
|
|
|
{1}
|
|
|
|
|
|
<font color='info'>请注意检查合同、尾款状态</font>
|
|
@@ -367,7 +378,7 @@ namespace OASystem.API.OAMethodLib.QiYeWeChatAPI.AppNotice
|
|
|
/// <summary>
|
|
|
/// [更新]一项费用待审核
|
|
|
/// </summary>
|
|
|
- public string TitleStr { get; set; } = "[新增]一项费用待审核";
|
|
|
+ public string TitleStr { get; set; } = "[新增]一项费用待审核";
|
|
|
}
|
|
|
|
|
|
public class GroupStatus_CreateModel
|