From 208e942e09f5be89410c3398a85081a2fcd2ff0c Mon Sep 17 00:00:00 2001 From: TinyAnts Date: Thu, 15 Sep 2022 09:35:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=85=AC=E4=BC=97=E5=8F=B7?= =?UTF-8?q?=E5=9B=9E=E5=A4=8D=E7=8A=B6=E6=80=81=E5=88=87=E6=8D=A2bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/service/channel/impl/ChannelOaReplyServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/like-admin/src/main/java/com/mdd/admin/service/channel/impl/ChannelOaReplyServiceImpl.java b/server/like-admin/src/main/java/com/mdd/admin/service/channel/impl/ChannelOaReplyServiceImpl.java index e057cd17..f8b0ceba 100644 --- a/server/like-admin/src/main/java/com/mdd/admin/service/channel/impl/ChannelOaReplyServiceImpl.java +++ b/server/like-admin/src/main/java/com/mdd/admin/service/channel/impl/ChannelOaReplyServiceImpl.java @@ -346,8 +346,8 @@ public class ChannelOaReplyServiceImpl implements IChannelOaReplyService { Assert.notNull(officialReply, "数据不存在!"); - Integer status = officialReply.getStatus() == 1 ? 0 : 1; - if (officialReply.getReplyType() != 2 && officialReply.getStatus() == 1) { + int status = officialReply.getStatus() == 1 ? 0 : 1; + if (officialReply.getReplyType() != 2 && status == 1) { OfficialReply reply = new OfficialReply(); reply.setStatus(0); officialReplyMapper.update(reply, new QueryWrapper()