正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -141,7 +141,7 @@ func (dividendsOrderService *DividendsOrderService) CreateDividendsOrder(createD | @@ -141,7 +141,7 @@ func (dividendsOrderService *DividendsOrderService) CreateDividendsOrder(createD | ||
141 | UpdatedAt: time.Time{}, | 141 | UpdatedAt: time.Time{}, |
142 | }) | 142 | }) |
143 | // 计算分红订单金额 | 143 | // 计算分红订单金额 |
144 | - dividendsOrderAmount, _ = decimal.NewFromFloat(dividendsOrderAmount).Add(decimal.NewFromFloat(orderGood.OrderGoodPrice).Mul(decimal.NewFromFloat(float64(orderGood.OrderGoodQuantity)).Sub(decimal.NewFromFloat(orderGood.OrderGoodExpense)))).Float64() | 144 | + dividendsOrderAmount, _ = decimal.NewFromFloat(dividendsOrderAmount).Add(decimal.NewFromFloat(orderGood.OrderGoodPrice).Mul(decimal.NewFromFloat(float64(orderGood.OrderGoodQuantity))).Sub(decimal.NewFromFloat(orderGood.OrderGoodExpense))).Float64() |
145 | } | 145 | } |
146 | 146 | ||
147 | // 订单时间转换 | 147 | // 订单时间转换 |
-
请 注册 或 登录 后发表评论