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