From ed8ba3b474690b8327f83dd9b515185b4b28f4fd Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期五, 27 九月 2024 13:37:02 +0800
Subject: [PATCH] MPK trim()

---
 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/impl/MpkFileServiceImpl.java |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/impl/MpkFileServiceImpl.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/impl/MpkFileServiceImpl.java
index 1bd71b9..eaa711a 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/impl/MpkFileServiceImpl.java
+++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/impl/MpkFileServiceImpl.java
@@ -118,6 +118,8 @@
     public void save(MpkFileDTO dto) {
         MpkFileEntity entity = ConvertUtils.sourceToTarget(dto, MpkFileEntity.class);
         entity.setId(UUID.randomUUID().toString());
+        entity.setPkgName(dto.getPkgName().trim());
+        entity.setFilePath(dto.getFilePath().trim());
         entity.setCreator(SecurityFrameworkUtils.getLoginUserId());
         entity.setCreateDate(new Date());
         insert(entity);

--
Gitblit v1.9.3