From c3941e00e606a1ebe278a9e8d35037cf23068e52 Mon Sep 17 00:00:00 2001 From: zhuxinru Date: Thu, 15 Jan 2026 10:48:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=8A=A5=E5=91=8A=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E8=AF=84=E5=AE=A1=E9=A2=84=E8=A7=88=E5=A2=9E=E5=8A=A0fileId?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/SimulationReportTemplateServiceImpl.java | 1 + .../impl/SimulationSystemConfigServiceImpl.java | 11 +++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/capability/src/main/java/com/sdm/capability/service/impl/SimulationReportTemplateServiceImpl.java b/capability/src/main/java/com/sdm/capability/service/impl/SimulationReportTemplateServiceImpl.java index e6ee2fe8..b23a3c4e 100644 --- a/capability/src/main/java/com/sdm/capability/service/impl/SimulationReportTemplateServiceImpl.java +++ b/capability/src/main/java/com/sdm/capability/service/impl/SimulationReportTemplateServiceImpl.java @@ -164,6 +164,7 @@ public class SimulationReportTemplateServiceImpl extends ServiceImpl { if (CollectionUtils.isEmpty(formConfigureService.lambdaQuery().eq(SysFormConfigure::getFormName, configure.formName) .eq(SysFormConfigure::getTenantId, i).list())) { - sysFormConfigure.setId(null); - sysFormConfigure.setTenantId(tenantId); - formConfigureService.save(sysFormConfigure); + SysFormConfigure formConfigure = new SysFormConfigure(); + BeanUtils.copyProperties(configure, formConfigure); + formConfigure.setTenantId(i); + formConfigure.setCreator(userId); + formConfigureService.save(formConfigure); } }); }