From 21e014ad7d5a4f81ad9ab477a36bbdb8a2493b41 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=96=9B=E5=AE=87?= <2433098676@qq.com>
Date: Sun, 30 Jul 2023 11:38:34 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B5=84=E8=B4=A8=E9=A2=84=E8=AD=A6=E4=BF=A1?=
 =?UTF-8?q?=E6=81=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../resources/mybatis/mapper/purchase/SupCertRemindMsgDao.xml   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/resources/mybatis/mapper/purchase/SupCertRemindMsgDao.xml b/src/main/resources/mybatis/mapper/purchase/SupCertRemindMsgDao.xml
index 92772587..c0373191 100644
--- a/src/main/resources/mybatis/mapper/purchase/SupCertRemindMsgDao.xml
+++ b/src/main/resources/mybatis/mapper/purchase/SupCertRemindMsgDao.xml
@@ -67,7 +67,7 @@
     <select id="selectProductRemindMsgList" resultType="com.glxp.api.res.purchase.SupCertRemindMsgResponse">
         select m.*,
                c.recordProductName                                                              `name`,
-               (select `name` from sup_cert s where s.code = m.code and s.productIdFk = m.idFk) certName
+               (select `name` from sup_cert s where s.code = m.code and s.productIdFk = m.idFk limit 1) certName
         from sup_cert_remind_msg m
                  left join sup_product c on m.idFk = c.productId
         left join sup_cert bc on bc.code = m.code