From 0ba79f60e8f7785e5d3fa89999be283a6746a830 Mon Sep 17 00:00:00 2001 From: Wang Chen Chen <932560435@qq.com> Date: Tue, 27 Feb 2024 10:09:08 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=8D=87=E7=BA=A7=20pom.xml=20=E4=BE=9D?= =?UTF-8?q?=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../perms/service/impl/PmsUserServiceImpl.java | 3 ++- .../system/service/impl/FileDetailService.java | 18 +++++++++++++++++- server/plugins/mbp-tenant/pom.xml | 2 +- server/pom.xml | 8 ++++---- 4 files changed, 24 insertions(+), 7 deletions(-) diff --git a/server/molly-pms/src/main/java/com/xaaef/molly/perms/service/impl/PmsUserServiceImpl.java b/server/molly-pms/src/main/java/com/xaaef/molly/perms/service/impl/PmsUserServiceImpl.java index 415afaa..9254ed7 100644 --- a/server/molly-pms/src/main/java/com/xaaef/molly/perms/service/impl/PmsUserServiceImpl.java +++ b/server/molly-pms/src/main/java/com/xaaef/molly/perms/service/impl/PmsUserServiceImpl.java @@ -15,6 +15,7 @@ import com.xaaef.molly.auth.service.UserLoginService; import com.xaaef.molly.common.enums.AdminFlag; import com.xaaef.molly.common.enums.StatusEnum; import com.xaaef.molly.common.enums.UserType; +import com.xaaef.molly.common.util.IdUtils; import com.xaaef.molly.internal.api.ApiCmsProjectService; import com.xaaef.molly.internal.api.ApiSysConfigService; import com.xaaef.molly.internal.api.ApiSysMenuService; @@ -155,7 +156,7 @@ public class PmsUserServiceImpl extends BaseServiceImpl if (entity.getStatus() == null) { entity.setStatus(StatusEnum.NORMAL.getCode()); } - + entity.setUserId(IdUtils.getStandaloneId()); var ok = super.save(entity); if (entity.getRoles() != null) { diff --git a/server/molly-sys/src/main/java/com/xaaef/molly/system/service/impl/FileDetailService.java b/server/molly-sys/src/main/java/com/xaaef/molly/system/service/impl/FileDetailService.java index 2559ddb..817d62b 100644 --- a/server/molly-sys/src/main/java/com/xaaef/molly/system/service/impl/FileDetailService.java +++ b/server/molly-sys/src/main/java/com/xaaef/molly/system/service/impl/FileDetailService.java @@ -12,6 +12,7 @@ import lombok.AllArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.dromara.x.file.storage.core.FileInfo; import org.dromara.x.file.storage.core.recorder.FileRecorder; +import org.dromara.x.file.storage.core.upload.FilePartInfo; import org.springframework.stereotype.Service; /** @@ -29,7 +30,6 @@ import org.springframework.stereotype.Service; @AllArgsConstructor public class FileDetailService extends ServiceImpl implements FileRecorder { - @Override public boolean save(FileInfo info) { var detail = BeanUtil.copyProperties(info, SysFileDetail.class, "attr"); @@ -44,6 +44,15 @@ public class FileDetailService extends ServiceImpl com.baomidou - mybatis-plus-boot-starter + mybatis-plus-spring-boot3-starter ${mybatis-plus.version} diff --git a/server/pom.xml b/server/pom.xml index 6248198..1755a4a 100644 --- a/server/pom.xml +++ b/server/pom.xml @@ -39,23 +39,23 @@ 1.0.6 - 2.0.0 + 2.1.0 7.15.0 3.17.4 - 6.4.11 + 6.4.13 5.2.5 - 5.8.25 + 5.8.26 4.5.0 3.5.5 - 3.1.7 + 3.2.3