|
@@ -2768,7 +2768,7 @@ FROM
|
|
|
|
|
|
await GeneralMethod.MessageIssueAndNotification(MessageTypeEnum.GroupBusinessOperations, title, content, userIds, diId);
|
|
await GeneralMethod.MessageIssueAndNotification(MessageTypeEnum.GroupBusinessOperations, title, content, userIds, diId);
|
|
|
|
|
|
- await APNsTools.iOS_PushNotifications("051", $"机票费用审核", "", content);
|
|
|
|
|
|
+ await APNsTools.iOS_PushNotifications1("051", $"机票费用审核", "", content);
|
|
|
|
|
|
}
|
|
}
|
|
catch (Exception ex)
|
|
catch (Exception ex)
|
|
@@ -3643,9 +3643,13 @@ FROM
|
|
}
|
|
}
|
|
|
|
|
|
#region 应用推送
|
|
#region 应用推送
|
|
|
|
+ int otherId = (int)groupData.Data.GetType().GetProperty("dataId").GetValue(groupData.Data, null);
|
|
int ccpId = (int)groupData.Data.GetType().GetProperty("ccpId").GetValue(groupData.Data, null);
|
|
int ccpId = (int)groupData.Data.GetType().GetProperty("ccpId").GetValue(groupData.Data, null);
|
|
int sign = (int)groupData.Data.GetType().GetProperty("sign").GetValue(groupData.Data, null);
|
|
int sign = (int)groupData.Data.GetType().GetProperty("sign").GetValue(groupData.Data, null);
|
|
|
|
|
|
|
|
+ //自动审核
|
|
|
|
+ var autoAdit = await _feeAuditRep.FeeAutomaticAudit(3, dto.DiId, otherId);
|
|
|
|
+
|
|
await AppNoticeLibrary.SendChatMsg_GroupStatus_ApplyFee(ccpId, sign, QiyeWeChatEnum.GuoJiaoLeaderChat);
|
|
await AppNoticeLibrary.SendChatMsg_GroupStatus_ApplyFee(ccpId, sign, QiyeWeChatEnum.GuoJiaoLeaderChat);
|
|
|
|
|
|
//2024-10-21 新增LZ UID
|
|
//2024-10-21 新增LZ UID
|
|
@@ -3660,9 +3664,7 @@ FROM
|
|
|
|
|
|
await GeneralMethod.MessageIssueAndNotification(MessageTypeEnum.GroupBusinessOperations, title, content, userIds, diId);
|
|
await GeneralMethod.MessageIssueAndNotification(MessageTypeEnum.GroupBusinessOperations, title, content, userIds, diId);
|
|
|
|
|
|
- await APNsTools.iOS_PushNotifications("051", $"其他款项费用审核", "", content);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+ //await APNsTools.iOS_PushNotifications1("051", $"其他款项费用审核", "", content);
|
|
|
|
|
|
#endregion
|
|
#endregion
|
|
|
|
|
|
@@ -4265,7 +4267,7 @@ FROM
|
|
|
|
|
|
await GeneralMethod.MessageIssueAndNotification(MessageTypeEnum.GroupBusinessOperations, title, content, userIds, diId);
|
|
await GeneralMethod.MessageIssueAndNotification(MessageTypeEnum.GroupBusinessOperations, title, content, userIds, diId);
|
|
|
|
|
|
- await APNsTools.iOS_PushNotifications("051", $"商邀费用审核", "", content);
|
|
|
|
|
|
+ await APNsTools.iOS_PushNotifications1("051", $"商邀费用审核", "", content);
|
|
}
|
|
}
|
|
catch (Exception ex)
|
|
catch (Exception ex)
|
|
{
|
|
{
|
|
@@ -7144,7 +7146,7 @@ FROM
|
|
|
|
|
|
await GeneralMethod.MessageIssueAndNotification(MessageTypeEnum.GroupBusinessOperations, title, content, userIds, diId);
|
|
await GeneralMethod.MessageIssueAndNotification(MessageTypeEnum.GroupBusinessOperations, title, content, userIds, diId);
|
|
|
|
|
|
- await APNsTools.iOS_PushNotifications("051", $"签证费用审核", "", content);
|
|
|
|
|
|
+ await APNsTools.iOS_PushNotifications1("051", $"签证费用审核", "", content);
|
|
}
|
|
}
|
|
catch (Exception ex)
|
|
catch (Exception ex)
|
|
{
|
|
{
|
|
@@ -7517,7 +7519,7 @@ FROM
|
|
string content = $"[更新-OP费用录入填写详情({groupInfo?.TeamName ?? "-"})]一项费用:{(((ccpInfo.PayMoney * ccpInfo.DayRate) / 100) * ccpInfo.PayPercentage).ToString("#0.00")} CNY;";
|
|
string content = $"[更新-OP费用录入填写详情({groupInfo?.TeamName ?? "-"})]一项费用:{(((ccpInfo.PayMoney * ccpInfo.DayRate) / 100) * ccpInfo.PayPercentage).ToString("#0.00")} CNY;";
|
|
|
|
|
|
await GeneralMethod.MessageIssueAndNotification(MessageTypeEnum.GroupBusinessOperations, title, content, userIds, diId);
|
|
await GeneralMethod.MessageIssueAndNotification(MessageTypeEnum.GroupBusinessOperations, title, content, userIds, diId);
|
|
- await APNsTools.iOS_PushNotifications("051", "OP费用审核", "", content);
|
|
|
|
|
|
+ await APNsTools.iOS_PushNotifications1("051", "OP费用审核", "", content);
|
|
}
|
|
}
|
|
catch (Exception ex)
|
|
catch (Exception ex)
|
|
{
|
|
{
|
|
@@ -11057,14 +11059,9 @@ ORDER by gctggrc.id DESC
|
|
if (_dto.Id == 0) content = $"[新增-酒店费用录入({groupInfo?.TeamName ?? "-"})]一项费用:{(ccpInfo.PayMoney * ccpInfo.DayRate).ToString("#0.00")} CNY;";
|
|
if (_dto.Id == 0) content = $"[新增-酒店费用录入({groupInfo?.TeamName ?? "-"})]一项费用:{(ccpInfo.PayMoney * ccpInfo.DayRate).ToString("#0.00")} CNY;";
|
|
else if (_dto.Id > 0) content = $"[更新-酒店费用录入({groupInfo?.TeamName ?? "-"})]一项费用:{(ccpInfo.PayMoney * ccpInfo.DayRate).ToString("#0.00")} CNY;";
|
|
else if (_dto.Id > 0) content = $"[更新-酒店费用录入({groupInfo?.TeamName ?? "-"})]一项费用:{(ccpInfo.PayMoney * ccpInfo.DayRate).ToString("#0.00")} CNY;";
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
try
|
|
try
|
|
{
|
|
{
|
|
-
|
|
|
|
- Logs($"【iOS推送通知PostHotelReservationsAddOrEdit】Start");
|
|
|
|
var iosRes1 = await APNsTools.iOS_PushNotifications1("051", title, "", content);
|
|
var iosRes1 = await APNsTools.iOS_PushNotifications1("051", title, "", content);
|
|
- Logs($"【iOS推送通知PostHotelReservationsAddOrEdit】End Response:[{JsonConvert.SerializeObject(iosRes1)}]");
|
|
|
|
//Logs($"【iOS推送通知PostHotelReservationsAddOrEdit】Start");
|
|
//Logs($"【iOS推送通知PostHotelReservationsAddOrEdit】Start");
|
|
//var iosRes = await APNsTools.iOS_PushNotifications("051", title, "", content);
|
|
//var iosRes = await APNsTools.iOS_PushNotifications("051", title, "", content);
|
|
//Logs($"【iOS推送通知PostHotelReservationsAddOrEdit】End Response:[{JsonConvert.SerializeObject(iosRes)}]");
|
|
//Logs($"【iOS推送通知PostHotelReservationsAddOrEdit】End Response:[{JsonConvert.SerializeObject(iosRes)}]");
|
|
@@ -11106,9 +11103,7 @@ ORDER by gctggrc.id DESC
|
|
else if (_dto.Id > 0) content = $"[更新-酒店费用录入({groupInfo?.TeamName ?? "-"})]一项费用:{(ccpInfo.PayMoney * ccpInfo.DayRate).ToString("#0.00")} CNY;";
|
|
else if (_dto.Id > 0) content = $"[更新-酒店费用录入({groupInfo?.TeamName ?? "-"})]一项费用:{(ccpInfo.PayMoney * ccpInfo.DayRate).ToString("#0.00")} CNY;";
|
|
|
|
|
|
await GeneralMethod.MessageIssueAndNotification(MessageTypeEnum.GroupBusinessOperations, title, content, userIds, diId);
|
|
await GeneralMethod.MessageIssueAndNotification(MessageTypeEnum.GroupBusinessOperations, title, content, userIds, diId);
|
|
- //await GeneralMethod.iOS_PushNotifications("051", "费用审核", "", content);
|
|
|
|
-
|
|
|
|
- }
|
|
|
|
|
|
+ }
|
|
catch (Exception ex)
|
|
catch (Exception ex)
|
|
{
|
|
{
|
|
}
|
|
}
|
|
@@ -13201,7 +13196,7 @@ ORDER by gctggrc.id DESC
|
|
else if (dto.Status == 2) content = $"[更新-保险费用录入({groupInfo?.TeamName ?? "-"})]一项费用:{(ccpInfo.PayMoney * ccpInfo.DayRate).ToString("#0.00")} CNY;";
|
|
else if (dto.Status == 2) content = $"[更新-保险费用录入({groupInfo?.TeamName ?? "-"})]一项费用:{(ccpInfo.PayMoney * ccpInfo.DayRate).ToString("#0.00")} CNY;";
|
|
|
|
|
|
await GeneralMethod.MessageIssueAndNotification(MessageTypeEnum.GroupBusinessOperations, title, content, userIds, diId);
|
|
await GeneralMethod.MessageIssueAndNotification(MessageTypeEnum.GroupBusinessOperations, title, content, userIds, diId);
|
|
- await APNsTools.iOS_PushNotifications("051", $"保险费用审核", "", content);
|
|
|
|
|
|
+ await APNsTools.iOS_PushNotifications1("051", $"保险费用审核", "", content);
|
|
}
|
|
}
|
|
catch (Exception ex)
|
|
catch (Exception ex)
|
|
{
|
|
{
|