From f2301264ea36ccdc387b885ee911ca7bd7c07e52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B1=88=E5=B1=95=E8=88=AA?= <2426745133@qq.com> Date: Mon, 3 Nov 2025 20:15:44 +0800 Subject: [PATCH] =?UTF-8?q?11-3-=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xzd/service/impl/XzdSupplierInfoServiceImpl.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/xinnengyuan/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/xzd/service/impl/XzdSupplierInfoServiceImpl.java b/xinnengyuan/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/xzd/service/impl/XzdSupplierInfoServiceImpl.java index fd01a713..1e96c06d 100644 --- a/xinnengyuan/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/xzd/service/impl/XzdSupplierInfoServiceImpl.java +++ b/xinnengyuan/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/xzd/service/impl/XzdSupplierInfoServiceImpl.java @@ -468,9 +468,12 @@ public class XzdSupplierInfoServiceImpl extends ServiceImpl xzdCustomertypeInfoLambdaQueryWrapper = new LambdaQueryWrapper<>(); + xzdCustomertypeInfoLambdaQueryWrapper.eq(XzdCustomertypeInfo::getType,"2"); + xzdCustomertypeInfoLambdaQueryWrapper.eq(XzdCustomertypeInfo::getCustomerinformationId, update.getId()); + xzdCustomertypeInfoService.remove(xzdCustomertypeInfoLambdaQueryWrapper); + for (XzdCustomertypeInfo customerType : bo.getCustomerTypes()) { customerType.setType("2"); customerType.setCustomerinformationId(update.getId());