From 78a77537b75e739d7a2a1baf6e7de08381efae5f Mon Sep 17 00:00:00 2001 From: "SGK\\17962" <1796293269@qq.com> Date: Tue, 14 Oct 2025 14:42:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A4=E9=87=8D=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/dromara/mps/service/impl/MpsMarketServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cds-platform-2025.V1/cds-modules/cds-system/src/main/java/org/dromara/mps/service/impl/MpsMarketServiceImpl.java b/cds-platform-2025.V1/cds-modules/cds-system/src/main/java/org/dromara/mps/service/impl/MpsMarketServiceImpl.java index 1215e35..9673750 100644 --- a/cds-platform-2025.V1/cds-modules/cds-system/src/main/java/org/dromara/mps/service/impl/MpsMarketServiceImpl.java +++ b/cds-platform-2025.V1/cds-modules/cds-system/src/main/java/org/dromara/mps/service/impl/MpsMarketServiceImpl.java @@ -355,7 +355,7 @@ public class MpsMarketServiceImpl implements IMpsMarketService { MpsTraffic traffic = new MpsTraffic(); traffic.setTrafficNo(mpsTraffic.getTrafficNo()); LambdaQueryWrapper lqw1 = new LambdaQueryWrapper<>(traffic); - lqw1.eq( MpsTraffic::getTrafficNo, mpsTraffic.getTrafficNo()); + lqw1.ne(mpsTraffic.getId() != null, MpsTraffic::getId, mpsTraffic.getId()); List result1 = TrafficMapper.selectVoList(lqw1); if (!result1.isEmpty()) { throw new ServiceException("该代缴交警罚没款已存在,编号:"+mpsTraffic.getTrafficNo());