This commit is contained in:
蒋海成 2025-02-23 10:29:34 +08:00
parent 989f798ead
commit c6c28b3f75

View File

@ -26,6 +26,7 @@ func UpdateOrderRecord(req *bundle.OrderRecord) (res *bundle.CommonResponse, err
res = new(bundle.CommonResponse)
orderRecord := new(model.BundleOrderRecords)
_ = copier.CopyWithOption(&orderRecord, req, copier.Option{DeepCopy: true})
orderRecord.BundleUUID = req.BundleUuid
res, err = dao.UpdateOrderRecord(orderRecord)
return
}