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