作者 陈志颖

fix:导入订单金额计算错误

@@ -865,7 +865,7 @@ func (dividendsOrderService *DividendsOrderService) ImportDividendsOrder(importD @@ -865,7 +865,7 @@ func (dividendsOrderService *DividendsOrderService) ImportDividendsOrder(importD
865 }) 865 })
866 866
867 // 计算分红订单金额 867 // 计算分红订单金额
868 - dividendsOrderAmount, _ = decimal.NewFromFloat(dividendsOrderAmount).Add(decimal.NewFromFloat(orderGood.OrderGoodPrice).Mul(decimal.NewFromFloat(orderGood.OrderGoodQuantity).Sub(decimal.NewFromFloat(orderGood.OrderGoodExpense)))).Float64() 868 + dividendsOrderAmount, _ = decimal.NewFromFloat(dividendsOrderAmount).Add(decimal.NewFromFloat(orderGood.OrderGoodPrice).Mul(decimal.NewFromFloat(orderGood.OrderGoodQuantity)).Sub(decimal.NewFromFloat(orderGood.OrderGoodExpense))).Float64()
869 } 869 }
870 870
871 if len(orderGoodErrMap) > 0 { 871 if len(orderGoodErrMap) > 0 {