1
This commit is contained in:
@@ -378,7 +378,7 @@ func CreateOrder2QBiDa(order *model.UserVendorOrder) error {
|
|||||||
order.OtherWayBill = otherId
|
order.OtherWayBill = otherId
|
||||||
order.OrderStatus = model.OrderStatusWaitPickup
|
order.OrderStatus = model.OrderStatusWaitPickup
|
||||||
order.UpdatedAt = time.Now()
|
order.UpdatedAt = time.Now()
|
||||||
if _, err = dao.UpdateEntity(dao.GetDB(), &order, "OtherWayBill", "OrderStatus", "UpdatedAt"); err != nil {
|
if _, err = dao.UpdateEntity(dao.GetDB(), order, "OtherWayBill", "OrderStatus", "UpdatedAt"); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Reference in New Issue
Block a user