From 9ddb7e8276ad8059818e60255431a140952e65b6 Mon Sep 17 00:00:00 2001 From: zhoujunyao Date: Wed, 4 Feb 2026 13:15:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E7=9A=84uuid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/dao/orderRecordsDao.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/dao/orderRecordsDao.go b/internal/dao/orderRecordsDao.go index 073e040..3e74d23 100644 --- a/internal/dao/orderRecordsDao.go +++ b/internal/dao/orderRecordsDao.go @@ -828,7 +828,7 @@ func UpdateReconciliationStatusBySerialNumber(req *bundle.UpdateStatusAndPayTime return nil, fmt.Errorf("查询订单失败: %v", err) } - if err := app.ModuleClients.BundleDB.Where("bundle_order_on = ?", req.SerialNumber).First(&existing).Error; err != nil { + if err := app.ModuleClients.BundleDB.Where("bundle_order_on = ?", order.OrderNo).First(&existing).Error; err != nil { if errors.Is(err, gorm.ErrRecordNotFound) { return nil, errors.New("对账单记录不存在") }