|
@@ -4247,8 +4247,15 @@ FROM
|
|
|
#region 应用推送
|
|
|
try
|
|
|
{
|
|
|
+ var diId = dto.AirTicketResOpData.DiId;
|
|
|
+
|
|
|
int ccpId = groupData.Data.GetType().GetProperty("ccpId").GetValue(groupData.Data, null);
|
|
|
int sign = groupData.Data.GetType().GetProperty("sign").GetValue(groupData.Data, null);
|
|
|
+ int dataId = groupData.Data.GetType().GetProperty("dataId").GetValue(groupData.Data, null);
|
|
|
+
|
|
|
+ //自动审核
|
|
|
+ var autoAdit = await _feeAuditRep.FeeAutomaticAudit(5, diId, dataId);
|
|
|
+
|
|
|
|
|
|
await AppNoticeLibrary.SendChatMsg_GroupStatus_ApplyFee(ccpId, sign, QiyeWeChatEnum.GuoJiaoLeaderChat);
|
|
|
|
|
@@ -4256,7 +4263,6 @@ FROM
|
|
|
var userIds = new List<int>() { 21 };
|
|
|
string title = $"系统通知";
|
|
|
string content = "";
|
|
|
- var diId = dto.AirTicketResOpData.DiId;
|
|
|
var groupInfo = await _groupRepository.Query(x => x.Id == diId).FirstAsync();
|
|
|
var ccpInfo = await _sqlSugar.Queryable<Grp_CreditCardPayment>().Where(x => x.Id == ccpId).FirstAsync();
|
|
|
if (dto.Status == 1) content = $"[新增-机票费用录入({groupInfo?.TeamName ?? "-"})]一项费用:{(ccpInfo.PayMoney * ccpInfo.DayRate).ToString("#0.00")} CNY;";
|
|
@@ -4276,6 +4282,22 @@ FROM
|
|
|
return Ok(JsonView(true, groupData.Msg, groupData.Data));
|
|
|
}
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// 机票费用录入
|
|
|
+ /// 自动审核测试
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="groupId"></param>
|
|
|
+ /// <param name="Id"></param>
|
|
|
+ /// <returns></returns>
|
|
|
+ [HttpPost]
|
|
|
+ [ProducesResponseType(typeof(JsonView), StatusCodes.Status200OK)]
|
|
|
+ public async Task<IActionResult> AirTicketResAutoAuditTest(int groupId, int Id)
|
|
|
+ {
|
|
|
+ var autoAdit = await _feeAuditRep.FeeAutomaticAudit(5, groupId, Id);
|
|
|
+
|
|
|
+ return Ok(JsonView(true, autoAdit.Msg, autoAdit.Data));
|
|
|
+ }
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// 根据舱位类型查询接团客户名单信息
|
|
|
/// </summary>
|