正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -1236,7 +1236,7 @@ func (dividendsReturnedOrderService *DividendsReturnedOrderService) UpdateDivide | @@ -1236,7 +1236,7 @@ func (dividendsReturnedOrderService *DividendsReturnedOrderService) UpdateDivide | ||
1236 | UpdatedAt: time.Now(), | 1236 | UpdatedAt: time.Now(), |
1237 | }) | 1237 | }) |
1238 | // 计算分红退货单金额 | 1238 | // 计算分红退货单金额 |
1239 | - dividendsReturnedOrderAmount, _ = decimal.NewFromFloat(dividendsReturnedOrderAmount).Add(decimal.NewFromFloat(orderGood.OrderGoodAmount)).Float64() | 1239 | + dividendsReturnedOrderAmount, _ = decimal.NewFromFloat(dividendsReturnedOrderAmount).Add(decimal.NewFromFloat(orderGoodAmount)).Float64() |
1240 | } | 1240 | } |
1241 | 1241 | ||
1242 | if err := dividendsReturnedOrder.Update(tool_funs.SimpleStructToMap(updateDividendsReturnedOrderCommand)); err != nil { | 1242 | if err := dividendsReturnedOrder.Update(tool_funs.SimpleStructToMap(updateDividendsReturnedOrderCommand)); err != nil { |
-
请 注册 或 登录 后发表评论