Updarte
This commit is contained in:
parent
4a720f439b
commit
bb9a81c7c1
@ -84,7 +84,7 @@ func (r *OrderRepositoryImpl) UpdateStatusSuccess(
|
||||
Model(&entities.Order{}).
|
||||
Where("id = ?", id.String()).
|
||||
Updates(map[string]interface{}{
|
||||
"order_status": orderStatus,
|
||||
"status": orderStatus,
|
||||
"payment_status": paymentStatus,
|
||||
}).Error
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user