...
|
...
|
@@ -1236,7 +1236,7 @@ func (dividendsReturnedOrderService *DividendsReturnedOrderService) UpdateDivide |
|
|
UpdatedAt: time.Now(),
|
|
|
})
|
|
|
// 计算分红退货单金额
|
|
|
dividendsReturnedOrderAmount, _ = decimal.NewFromFloat(dividendsReturnedOrderAmount).Add(decimal.NewFromFloat(orderGood.OrderGoodAmount)).Float64()
|
|
|
dividendsReturnedOrderAmount, _ = decimal.NewFromFloat(dividendsReturnedOrderAmount).Add(decimal.NewFromFloat(orderGoodAmount)).Float64()
|
|
|
}
|
|
|
|
|
|
if err := dividendsReturnedOrder.Update(tool_funs.SimpleStructToMap(updateDividendsReturnedOrderCommand)); err != nil {
|
...
|
...
|
|