From 2ba01afe48372e321631f9a6bc319044fb743fdd Mon Sep 17 00:00:00 2001 From: guojunyun Date: Fri, 31 Oct 2025 15:56:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=90=88=E5=90=8C=EF=BC=9AIN?= =?UTF-8?q?SC=5FID=E9=87=8D=E5=A4=8D=E5=88=97=E5=90=8Dbug=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../contractorder/service/contract/ContractServiceImpl.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zt-module-contract-order/zt-module-contract-order-server/src/main/java/com/zt/plat/module/contractorder/service/contract/ContractServiceImpl.java b/zt-module-contract-order/zt-module-contract-order-server/src/main/java/com/zt/plat/module/contractorder/service/contract/ContractServiceImpl.java index ab19798..07abdea 100644 --- a/zt-module-contract-order/zt-module-contract-order-server/src/main/java/com/zt/plat/module/contractorder/service/contract/ContractServiceImpl.java +++ b/zt-module-contract-order/zt-module-contract-order-server/src/main/java/com/zt/plat/module/contractorder/service/contract/ContractServiceImpl.java @@ -921,8 +921,10 @@ public class ContractServiceImpl implements ContractService { } // 更新合同主信息 + Long instanceId = newContractMainDO.getInstanceId(); + newContractMainDO.setInstanceId(null); contractMainMapper.update(newContractMainDO, new LambdaUpdateWrapper<>(ContractMainDO.class) - .set(ContractMainDO::getInstanceId, newContractMainDO.getInstanceId()) + .set(ContractMainDO::getInstanceId, instanceId) .eq(ContractMainDO::getId, newContractMainDO.getId())); if (DictEnum.BSE_CTRT_STS_IN_PROGRESS.getCode().equals(newContractMainDO.getStatus())) {