|
@@ -2281,7 +2281,7 @@ FROM
|
|
|
string roomFeeStr = "", roomFeestr1 = "";
|
|
|
|
|
|
//是否比较房型价格
|
|
|
- bool __isSingle = false, __isDouble = false, __isSuite = false, __isOther = false;
|
|
|
+ //bool __isSingle = false, __isDouble = false, __isSuite = false, __isOther = false;
|
|
|
|
|
|
//roomFeeStr += $"<br/><span style='width:70px;display: inline-block;'></span>";
|
|
|
roomFeeStr += $"<br/>";
|
|
@@ -2290,28 +2290,28 @@ FROM
|
|
|
{
|
|
|
var fee = hotelReservations.SingleRoomPrice * hotelReservations.SingleRoomCount * (int)hotel_days;
|
|
|
roomFeestr1 += $"<span style='width:70px;display: inline-block;'></span>单间:{hotelReservations.SingleRoomPrice.ToString("#0.00")} * {hotelReservations.SingleRoomCount}间 * {(int)hotel_days}晚 = {fee.ToString("#0.00")}<br/>";
|
|
|
- __isSingle = true;
|
|
|
+ //__isSingle = true;
|
|
|
roomTotal += fee;
|
|
|
}
|
|
|
if (hotelReservations.DoubleRoomPrice > 0)
|
|
|
{
|
|
|
var fee = hotelReservations.DoubleRoomPrice * hotelReservations.DoubleRoomCount * (int)hotel_days;
|
|
|
roomFeestr1 += $"<span style='width:70px;display: inline-block;'></span>双人间:{hotelReservations.DoubleRoomPrice.ToString("#0.00")} * {hotelReservations.DoubleRoomCount}间 * {(int)hotel_days}晚 = {fee.ToString("#0.00")}<br/>";
|
|
|
- __isDouble = true;
|
|
|
+ // __isDouble = true;
|
|
|
roomTotal += fee;
|
|
|
}
|
|
|
if (hotelReservations.SuiteRoomPrice > 0)
|
|
|
{
|
|
|
var fee = hotelReservations.SuiteRoomPrice * hotelReservations.SuiteRoomCount * (int)hotel_days;
|
|
|
roomFeestr1 += $"<span style='width:70px;display: inline-block;'></span>套房:{hotelReservations.SuiteRoomPrice.ToString("#0.00")} * {hotelReservations.SuiteRoomCount}间 * {(int)hotel_days}晚 = {fee.ToString("#0.00")}<br/>";
|
|
|
- __isSuite = true;
|
|
|
+ //__isSuite = true;
|
|
|
roomTotal += fee;
|
|
|
}
|
|
|
if (hotelReservations.OtherRoomPrice > 0)
|
|
|
{
|
|
|
var fee = hotelReservations.OtherRoomPrice * hotelReservations.OtherRoomCount * (int)hotel_days;
|
|
|
roomFeestr1 += $"<span style='width:70px;display: inline-block;'></span>其他:{hotelReservations.OtherRoomPrice.ToString("#0.00")} * {hotelReservations.OtherRoomCount}间 * {(int)hotel_days}晚 = {fee.ToString("#0.00")}<br/>";
|
|
|
- __isOther = true;
|
|
|
+ //__isOther = true;
|
|
|
roomTotal += fee;
|
|
|
}
|
|
|
|
|
@@ -3649,7 +3649,7 @@ FROM
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- List<TranslateResult> transData = _airTicketResRep.ReTransBatch(texts, "en");
|
|
|
+ List<TranslateResult> transData = await _airTicketResRep.ReTransBatch(texts, "en");
|
|
|
if (transData.Count > 0)
|
|
|
{
|
|
|
foreach (TranslateResult item in transData)
|
|
@@ -3973,9 +3973,13 @@ FROM
|
|
|
}
|
|
|
|
|
|
#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 sign = (int)groupData.Data.GetType().GetProperty("sign").GetValue(groupData.Data, null);
|
|
|
+ //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 sign = (int)groupData.Data.GetType().GetProperty("sign").GetValue(groupData.Data, null);
|
|
|
+
|
|
|
+ int otherId = Convert.ToInt32(groupData.Data.GetType().GetProperty("dataId").GetValue(groupData.Data, null) ?? 0);
|
|
|
+ int ccpId = Convert.ToInt32(groupData.Data.GetType().GetProperty("ccpId").GetValue(groupData.Data, null) ?? 0);
|
|
|
+ int sign = Convert.ToInt32(groupData.Data.GetType().GetProperty("sign").GetValue(groupData.Data, null) ?? 0);
|
|
|
|
|
|
//自动审核
|
|
|
var autoAdit = await _feeAuditRep.FeeAutomaticAudit(3, dto.DiId, otherId);
|
|
@@ -5203,7 +5207,7 @@ FROM
|
|
|
texts.Add(item.CompanyFullName);
|
|
|
}
|
|
|
}
|
|
|
- List<TranslateResult> transData = _airTicketResRep.ReTransBatch(texts, "en");
|
|
|
+ List<TranslateResult> transData = await _airTicketResRep.ReTransBatch(texts, "en");
|
|
|
if (transData.Count > 0)
|
|
|
{
|
|
|
foreach (TranslateResult item in transData)
|
|
@@ -7358,7 +7362,7 @@ FROM
|
|
|
foreach (var item in countryData)
|
|
|
{
|
|
|
var cityData1 = new List<string>();
|
|
|
- cityData1 = nationalTravelFeeData.Where(it => it.Country == item).Select(it => it.City).ToList();
|
|
|
+ cityData1 = nationalTravelFeeData.Where(it => it.Country == item).Select(it => it.City ?? "").ToList();
|
|
|
var countryData2 = new
|
|
|
{
|
|
|
CountryName = item,
|
|
@@ -16001,10 +16005,14 @@ ORDER by gctggrc.id DESC
|
|
|
|
|
|
try
|
|
|
{
|
|
|
+ //int ccpId = (int)_view.Data.GetType().GetProperty("ccpId").GetValue(_view.Data, null);
|
|
|
+ //int sign = (int)_view.Data.GetType().GetProperty("sign").GetValue(_view.Data, null);
|
|
|
+ //int hotelId = (int)_view.Data.GetType().GetProperty("hotelId").GetValue(_view.Data, null);
|
|
|
+
|
|
|
+ int ccpId = Convert.ToInt32(_view.Data.GetType().GetProperty("ccpId").GetValue(_view.Data, null) ?? 0);
|
|
|
+ int sign = Convert.ToInt32(_view.Data.GetType().GetProperty("sign").GetValue(_view.Data, null) ?? 0);
|
|
|
+ int hotelId = Convert.ToInt32(_view.Data.GetType().GetProperty("hotelId").GetValue(_view.Data, null) ?? 0);
|
|
|
|
|
|
- int ccpId = (int)_view.Data.GetType().GetProperty("ccpId").GetValue(_view.Data, null);
|
|
|
- int sign = (int)_view.Data.GetType().GetProperty("sign").GetValue(_view.Data, null);
|
|
|
- int hotelId = (int)_view.Data.GetType().GetProperty("hotelId").GetValue(_view.Data, null);
|
|
|
|
|
|
var diId = _dto.DiId;
|
|
|
var groupInfo = await _groupRepository.Query(x => x.Id == diId).FirstAsync();
|
|
@@ -16069,9 +16077,14 @@ ORDER by gctggrc.id DESC
|
|
|
|
|
|
try
|
|
|
{
|
|
|
- int ccpId = (int)_view.Data.GetType().GetProperty("ccpId").GetValue(_view.Data, null);
|
|
|
- int sign = (int)_view.Data.GetType().GetProperty("sign").GetValue(_view.Data, null);
|
|
|
- int hotelId = (int)_view.Data.GetType().GetProperty("hotelId").GetValue(_view.Data, null);
|
|
|
+ //int ccpId = (int)_view.Data.GetType().GetProperty("ccpId").GetValue(_view.Data, null);
|
|
|
+ //int sign = (int)_view.Data.GetType().GetProperty("sign").GetValue(_view.Data, null);
|
|
|
+ //int hotelId = (int)_view.Data.GetType().GetProperty("hotelId").GetValue(_view.Data, null);
|
|
|
+
|
|
|
+ int ccpId = Convert.ToInt32(_view.Data.GetType().GetProperty("ccpId").GetValue(_view.Data, null) ?? 0);
|
|
|
+ int sign = Convert.ToInt32(_view.Data.GetType().GetProperty("sign").GetValue(_view.Data, null) ?? 0);
|
|
|
+ int hotelId = Convert.ToInt32(_view.Data.GetType().GetProperty("hotelId").GetValue(_view.Data, null) ?? 0);
|
|
|
+
|
|
|
await AppNoticeLibrary.SendChatMsg_GroupStatus_ApplyFee(ccpId, sign, QiyeWeChatEnum.GuoJiaoLeaderChat);
|
|
|
|
|
|
//自动审核
|