From b4d794b6db23233f33c7a9fe7ee37c74a47f51e3 Mon Sep 17 00:00:00 2001 From: Aixbox <114545939+Aixbox@users.noreply.github.com> Date: Thu, 15 Aug 2024 15:25:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=9F=A5=E6=89=BE?= =?UTF-8?q?=E5=BE=85=E5=AE=A1=E6=89=B9=E7=9A=84=E7=94=B3=E8=AF=B7=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E6=97=B6=E7=94=B3=E8=AF=B7=E7=8A=B6=E6=80=81=E7=9A=84?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E4=B8=BA=E6=9E=9A=E4=B8=BE=E5=80=BC=E7=9A=84?= =?UTF-8?q?code=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/abin/mallchat/common/user/dao/UserApplyDao.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mallchat-chat-server/src/main/java/com/abin/mallchat/common/user/dao/UserApplyDao.java b/mallchat-chat-server/src/main/java/com/abin/mallchat/common/user/dao/UserApplyDao.java index b52920fb..df6e75e6 100644 --- a/mallchat-chat-server/src/main/java/com/abin/mallchat/common/user/dao/UserApplyDao.java +++ b/mallchat-chat-server/src/main/java/com/abin/mallchat/common/user/dao/UserApplyDao.java @@ -29,7 +29,7 @@ public class UserApplyDao extends ServiceImpl { public UserApply getFriendApproving(Long uid, Long targetUid) { return lambdaQuery().eq(UserApply::getUid, uid) .eq(UserApply::getTargetId, targetUid) - .eq(UserApply::getStatus, ApplyStatusEnum.WAIT_APPROVAL) + .eq(UserApply::getStatus, ApplyStatusEnum.WAIT_APPROVAL.getCode()) .eq(UserApply::getType, ApplyTypeEnum.ADD_FRIEND.getCode()) .one(); }