From beab7904bd3eed9aaf163b62cb1e7cc1717852e3 Mon Sep 17 00:00:00 2001 From: chaiyapeng <3535863041@qq.com> Date: Mon, 2 Sep 2024 15:36:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=AD=E4=B9=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/muyu/system/service/impl/BuyServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/muyu/system/service/impl/BuyServiceImpl.java b/src/main/java/com/muyu/system/service/impl/BuyServiceImpl.java index 68870ba..1469ee2 100644 --- a/src/main/java/com/muyu/system/service/impl/BuyServiceImpl.java +++ b/src/main/java/com/muyu/system/service/impl/BuyServiceImpl.java @@ -34,7 +34,7 @@ public class BuyServiceImpl extends ServiceImpl implements // //获取当前的用户信息 // LoginUser loginUser = SecurityUtils.getLoginUser(); ConnectorUser connectorUser1 = buyMapper.selectConnectorUser(connectorUser); - if (connectorUser1.getConnectorName()==null){ + if (connectorUser1.equals("")){ connectorUser.setUserId(userId); Integer i = buyMapper.addConnectorUser(connectorUser); if (i>0){