From 8f3878c9ac837c35092b8b533bb4e5003ee2407c Mon Sep 17 00:00:00 2001
From: zxc <1272811460@qq.com>
Date: Tue, 10 Nov 2020 15:11:01 +0800
Subject: [PATCH] =?UTF-8?q?=E5=BE=BD=E7=AB=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/main/resources/mapper/UserBadgeDao.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/epmet-user/epmet-user-server/src/main/resources/mapper/UserBadgeDao.xml b/epmet-user/epmet-user-server/src/main/resources/mapper/UserBadgeDao.xml
index 1ce902f6d2..f7186b1424 100644
--- a/epmet-user/epmet-user-server/src/main/resources/mapper/UserBadgeDao.xml
+++ b/epmet-user/epmet-user-server/src/main/resources/mapper/UserBadgeDao.xml
@@ -105,10 +105,10 @@
user_badge_certificate_record
WHERE
DEL_FLAG = 0
- AND IS_LAST = 'yes'
AND BADGE_ID = #{badgeId}
AND USER_ID = #{userId}
+ AND IS_LAST = 'yes'
AND ID = #{recordId}