|
@@ -30,6 +30,12 @@ namespace OASystem.API.OAMethodLib.QiYeWeChatAPI.AppNotice
|
|
|
[Description("CaiWuChat01")]
|
|
|
CaiWuChat,
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ [Description("CaiWuChat02")]
|
|
|
+ CaiWuChat02,
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -165,10 +171,11 @@ namespace OASystem.API.OAMethodLib.QiYeWeChatAPI.AppNotice
|
|
|
|
|
|
|
|
|
|
|
|
- public static string GroupRemindersToCaiwuChat(List<Grp_DelegationInfo> list_7day, List<Grp_DelegationInfo> list_3day)
|
|
|
+ public static string GroupRemindersToCaiwuChat(List<Grp_DelegationInfo> list_7day, List<Grp_DelegationInfo> list_3day, List<Grp_DelegationInfo> list_minus1day)
|
|
|
{
|
|
|
string teamNames1 = "><font color='comment'>暂无</font>";
|
|
|
string teamNames2 = "><font color='comment'>暂无</font>";
|
|
|
+ string teamNames3 = "><font color='comment'>暂无</font>";
|
|
|
|
|
|
if (list_7day.Count > 0)
|
|
|
{
|
|
@@ -193,6 +200,16 @@ namespace OASystem.API.OAMethodLib.QiYeWeChatAPI.AppNotice
|
|
|
|
|
|
}
|
|
|
|
|
|
+ if (list_minus1day.Count > 0)
|
|
|
+ {
|
|
|
+ teamNames3 = "";
|
|
|
+ foreach (var item in list_minus1day)
|
|
|
+ {
|
|
|
+ string endDt = item.VisitEndDate.ToString("yyyy-MM-dd");
|
|
|
+ teamNames2 += ">(" + endDt + ")" + item.TeamName + " \n\n";
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
string result = string.Format(@" `团组状态提醒`
|
|
|
|
|
@@ -202,9 +219,12 @@ namespace OASystem.API.OAMethodLib.QiYeWeChatAPI.AppNotice
|
|
|
><font color='warning'> - 下列团组将于3天内结束:</font>
|
|
|
{1}
|
|
|
|
|
|
+><font color='warning'> - 下列团组已于昨日结束行程:</font>
|
|
|
+{2}
|
|
|
+
|
|
|
<font color='info'>请注意检查合同、尾款状态</font>
|
|
|
|
|
|
-[详细信息请前往OA系统查看](http:
|
|
|
+[详细信息请前往OA系统查看](http:
|
|
|
|
|
|
return result;
|
|
|
}
|