Commit 67c6db1c authored by 吴春's avatar 吴春

提交代码

parent b7f688fd
......@@ -3909,7 +3909,10 @@ namespace Mall.Module.Product
x.GuideWorkYears,
x.CarId,
x.GuideId,
x.OrderId
x.OrderId,
x.InsuranceMoney,
x.IntegralNumber,
x.IntegralMoney
}),
model.IsApplyForCancel,
model.RejectRemark,
......
......@@ -3434,6 +3434,7 @@ namespace Mall.WebApi.Controllers.MallBase
x.PlatformSource,
x.TenantId,
x.MallBaseId,
x.OrderDetailId,
CreateDate = x.CreateDate.HasValue ? x.CreateDate.Value.ToString("yyyy-MM-dd HH:mm:ss") : ""
});
return ApiResult.Success("", pagelist);
......
......@@ -243,7 +243,9 @@ namespace Mall.WebApi.Controllers.User
x.CostFinanceId,
x.FreightFinanceId,
x.Id,
x.OrderId
x.OrderId,
x.InsuranceCostMoney,
x.InsuranceFinanceId
});
return ApiResult.Success("", pagelist);
}
......@@ -347,16 +349,16 @@ namespace Mall.WebApi.Controllers.User
{
FinanceType = 3,
Final_Price = orderGoodsItem.Final_Price,
Number = 1,
Number = orderGoodsItem.Number,
FreightMoney = orderGoodsItem.FreightMoney,
GoodsName = orderGoodsItem.GoodsName,
OrderNo = orderGoodsItem.OrderNo,
Id = orderGoodsItem.Id,
CostMoney = orderGoodsItem.CostMoney,
FreightCostMoney = orderGoodsItem.FreightCostMoney,
InsuranceCostMoney = orderGoodsItem.InsuranceCostMoney
InsuranceCostMoney = ((orderGoodsItem.InsuranceCostMoney ?? 0) / (orderGoodsItem.Number ?? 1))
};
OrderDetailPaid += ((orderGoodsItem.InsuranceCostMoney ?? 0) * (orderGoodsItem.Number ?? 0));
OrderDetailPaid += (orderGoodsItem.InsuranceCostMoney ?? 0);
result.Add(newOrderGoods);
}
}
......@@ -380,7 +382,7 @@ namespace Mall.WebApi.Controllers.User
Unit_Price = orderGoodsItem.CostMoney,
Number = orderGoodsItem.Number,
OrderDetailPaid = OrderDetailPaid,
InsuranceCostMoney = ((orderGoodsItem.InsuranceCostMoney ?? 0) * (orderGoodsItem.Number ?? 0)),
InsuranceCostMoney = (orderGoodsItem.InsuranceCostMoney ?? 0),
};
record.RecordDetailList.Add(financeRecordDetail);
......@@ -423,7 +425,7 @@ namespace Mall.WebApi.Controllers.User
}
else if (demodel.IsSelectAll == 3)
{
totalMonry = result.Where(x => x.FinanceType == 2).Sum(x => ((x.InsuranceCostMoney ?? 0) * (x.Number ?? 0)));
totalMonry = result.Where(x => x.FinanceType == 3).Sum(x => ((x.InsuranceCostMoney ?? 0) * (x.Number ?? 0)));
}
var financeObj = new
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment