|
|
|
@ -57,11 +57,11 @@ public class SwapOrderSettleAnAccountTask : ITask
|
|
|
|
|
.In(swapOrder => swapOrder.Sn, list)
|
|
|
|
|
.ToList();
|
|
|
|
|
// 电费单价
|
|
|
|
|
int electricityTotalFee = StaticStationInfo.ElectricityTotalFee;
|
|
|
|
|
decimal electricityTotalFee = StaticStationInfo.ElectricityTotalFee;
|
|
|
|
|
// 换电服务费用
|
|
|
|
|
int serviceTotalFee = StaticStationInfo.ServiceTotalFee;
|
|
|
|
|
decimal serviceTotalFee = StaticStationInfo.ServiceTotalFee;
|
|
|
|
|
// 附加费用
|
|
|
|
|
int appendTotalFee = StaticStationInfo.AppendTotalFee;
|
|
|
|
|
decimal appendTotalFee = StaticStationInfo.AppendTotalFee;
|
|
|
|
|
foreach (var swapOrderBattery in listSwapOrderBattery)
|
|
|
|
|
{
|
|
|
|
|
// 换上的满电包soc*满电包的电池标量
|
|
|
|
@ -76,7 +76,7 @@ public class SwapOrderSettleAnAccountTask : ITask
|
|
|
|
|
if (matchingOrder != null)
|
|
|
|
|
{
|
|
|
|
|
matchingOrder.ServiceTotalFee = serviceTotalFee;
|
|
|
|
|
matchingOrder.ElectricityTotalFee = (int?)electricCharge;
|
|
|
|
|
matchingOrder.ElectricityTotalFee = electricCharge;
|
|
|
|
|
matchingOrder.AppendTotalFee = appendTotalFee;
|
|
|
|
|
matchingOrder.TotalFee = matchingOrder.ServiceTotalFee + matchingOrder.ElectricityTotalFee +
|
|
|
|
|
matchingOrder.AppendTotalFee;
|
|
|
|
|