diff --git a/system/src/main/java/com/sdm/system/service/impl/SimulationSystemConfigServiceImpl.java b/system/src/main/java/com/sdm/system/service/impl/SimulationSystemConfigServiceImpl.java index b5a76a75..b3791b9e 100644 --- a/system/src/main/java/com/sdm/system/service/impl/SimulationSystemConfigServiceImpl.java +++ b/system/src/main/java/com/sdm/system/service/impl/SimulationSystemConfigServiceImpl.java @@ -329,6 +329,7 @@ public class SimulationSystemConfigServiceImpl extends BaseService implements IS tenantIdList.forEach(i -> { if (CollectionUtils.isEmpty(formConfigureService.lambdaQuery().eq(SysFormConfigure::getFormName, configure.formName) .eq(SysFormConfigure::getTenantId, i).list())) { + sysFormConfigure.setId(null); sysFormConfigure.setTenantId(tenantId); formConfigureService.save(sysFormConfigure); }