From 50cd4152faccba9da1ce060ed9690c5264ba59cb Mon Sep 17 00:00:00 2001 From: lrh <1585126058@qq.com> Date: Tue, 27 Jun 2023 09:23:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=B0=8F=E7=A5=A8=E5=8F=B7?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C=E3=80=81=E6=96=B0=E5=A2=9E=E6=B6=88=E8=B4=B9?= =?UTF-8?q?=E5=8D=A1=E6=96=B0=E5=A2=9E=E6=93=8D=E4=BD=9C=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E3=80=81=E6=96=B0=E5=A2=9E=E6=B6=88=E8=B4=B9=E5=8D=A1=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E8=AE=B0=E5=BD=95=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/iformall/service/impl/WxCreditHistoryServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxCreditHistoryServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxCreditHistoryServiceImpl.java index bc6552ef5..06550a184 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxCreditHistoryServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxCreditHistoryServiceImpl.java @@ -589,7 +589,7 @@ public class WxCreditHistoryServiceImpl implements WxCreditHistoryService { @Transactional(propagation = Propagation.REQUIRED, readOnly = false, rollbackFor = {Exception.class}) public WxCreditHistory saveOrUpdate(WxCreditHistory record,TenantEntity tenantEntity) { WxCreditHistory history = wxCreditHistoryMapper.selectOne(new LambdaQueryWrapper().eq(WxCreditHistory::getTicketNumber, record.getTicketNumber())); - if (history == null){ + if (history != null){ throw new MallinkException(ErrorCode.SMALL_TICKET_IS_USED); } WxCUserBasicInfo wxCUserBasicInfo = wxCUserBasicInfoMapper.selectById(record.getCUserId(),record.getTenantId());