|
@@ -575,14 +575,36 @@ namespace OASystem.API.Controllers
|
|
|
|
|
|
List<GroupCTGGRFeeView> groupCTGGRFeeViews = new List<GroupCTGGRFeeView>();
|
|
List<GroupCTGGRFeeView> groupCTGGRFeeViews = new List<GroupCTGGRFeeView>();
|
|
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
string CTGGRFeeSql = string.Format(@"Select ctggr.Id As CTGGRId,ctggr.DiId As CTGGRDiId,ctggr.PriceName As Area,ctggrc.*,ctggrc.Price As PayMoney,
|
|
string CTGGRFeeSql = string.Format(@"Select ctggr.Id As CTGGRId,ctggr.DiId As CTGGRDiId,ctggr.PriceName As Area,ctggrc.*,ctggrc.Price As PayMoney,
|
|
sd2.name As PaymentCurrency,ccp.PayPercentage,
|
|
sd2.name As PaymentCurrency,ccp.PayPercentage,
|
|
- (ctggrc.Price / (ccp.PayPercentage / 100)) As AmountPaid,
|
|
+ (ctggrc.Price * (ccp.PayPercentage / 100)) As AmountPaid,
|
|
- (ctggrc.Price / (ccp.PayPercentage / 100) - ctggrc.Price) As BalancePayment,
|
|
+ (ctggrc.Price - ctggrc.Price * (ccp.PayPercentage / 100)) As BalancePayment,
|
|
ccp.DayRate,(ctggrc.Price * ccp.DayRate) As CNYPrice,ccp.Payee,ccp.AuditGMDate,
|
|
ccp.DayRate,(ctggrc.Price * ccp.DayRate) As CNYPrice,ccp.Payee,ccp.AuditGMDate,
|
|
ccp.OrbitalPrivateTransfer,sd1.Name As PayWay,ccp.IsPay,u.CnName As Applicant,ctggr.CreateTime
|
|
ccp.OrbitalPrivateTransfer,sd1.Name As PayWay,ccp.IsPay,u.CnName As Applicant,ctggr.CreateTime
|
|
From Grp_CarTouristGuideGroundReservations ctggr
|
|
From Grp_CarTouristGuideGroundReservations ctggr
|
|
- Left Join ( Select cggrc.CTGGRId,sd1.Name As PriceName,cggrc.Price,sd2.Name As PriceCurrency,
|
|
+ Left Join ( Select cggrc.CTGGRId,sd1.Name As PriceName,cggrc.Price*cggrc.Count As Price,sd2.Name As PriceCurrency,
|
|
cggrc.DatePrice,cggrc.PriceContent
|
|
cggrc.DatePrice,cggrc.PriceContent
|
|
From Grp_CarTouristGuideGroundReservationsContent cggrc
|
|
From Grp_CarTouristGuideGroundReservationsContent cggrc
|
|
Left Join Sys_SetData sd1 On cggrc.SId = sd1.Id
|
|
Left Join Sys_SetData sd1 On cggrc.SId = sd1.Id
|