diff --git a/backend/src/main/java/io/dataease/base/mapper/ext/ExtBaseMapper.java b/backend/src/main/java/io/dataease/base/mapper/ext/ExtBaseMapper.java deleted file mode 100644 index 6bb998b724..0000000000 --- a/backend/src/main/java/io/dataease/base/mapper/ext/ExtBaseMapper.java +++ /dev/null @@ -1,4 +0,0 @@ -package io.dataease.base.mapper.ext; - -public interface ExtBaseMapper { -} diff --git a/backend/src/main/java/io/dataease/base/mapper/ext/ExtBaseMapper.xml b/backend/src/main/java/io/dataease/base/mapper/ext/ExtBaseMapper.xml deleted file mode 100644 index 72123155c8..0000000000 --- a/backend/src/main/java/io/dataease/base/mapper/ext/ExtBaseMapper.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - order by - - ${order.name} ${order.type} - - - - - - - - like CONCAT('%', #{${object}.value},'%') - - - not like CONCAT('%', #{${object}.value},'%') - - - in - - #{v} - - - - not in - - #{v} - - - - between #{${object}.value[0]} and #{${object}.value[1]} - - - > #{${object}.value} - - - < #{${object}.value} - - - >= #{${object}.value} - - - <= #{${object}.value} - - - = '${@io.metersphere.commons.utils.SessionUtils@getUserId()}' - - - = #{${object}.value} - - - - - diff --git a/backend/src/main/java/io/dataease/commons/utils/FileUtils.java b/backend/src/main/java/io/dataease/commons/utils/FileUtils.java deleted file mode 100644 index e76b24c687..0000000000 --- a/backend/src/main/java/io/dataease/commons/utils/FileUtils.java +++ /dev/null @@ -1,34 +0,0 @@ -package io.dataease.commons.utils; - -import io.dataease.commons.exception.DEException; -import io.dataease.i18n.Translator; -import org.apache.commons.collections4.CollectionUtils; -import org.aspectj.util.FileUtil; -import org.springframework.web.multipart.MultipartFile; - -import java.io.*; -import java.util.List; - -public class FileUtils { - private static final String BODY_FILE_DIR = "/opt/metersphere/data/body"; - - public static void createBodyFiles(List bodyUploadIds, List bodyFiles) { - if (CollectionUtils.isNotEmpty(bodyUploadIds) && CollectionUtils.isNotEmpty(bodyFiles)) { - File testDir = new File(BODY_FILE_DIR); - if (!testDir.exists()) { - testDir.mkdirs(); - } - for (int i = 0; i < bodyUploadIds.size(); i++) { - MultipartFile item = bodyFiles.get(i); - File file = new File(BODY_FILE_DIR + "/" + bodyUploadIds.get(i) + "_" + item.getOriginalFilename()); - try (InputStream in = item.getInputStream(); OutputStream out = new FileOutputStream(file)) { - file.createNewFile(); - FileUtil.copyStream(in, out); - } catch (IOException e) { - LogUtil.error(e); - DEException.throwException(Translator.get("upload_fail")); - } - } - } - } -} diff --git a/frontend/src/styles/index.scss b/frontend/src/styles/index.scss index c9ac0ad0dd..701346fe3d 100644 --- a/frontend/src/styles/index.scss +++ b/frontend/src/styles/index.scss @@ -10,7 +10,6 @@ @import '~umy-ui/lib/theme-chalk/index.css'; // 引入样式 @import './deicon/iconfont.css'; -// @import '../metersphere/common/css/index.css'; body { diff --git a/frontend/src/views/system/systemParamSettings/LdapSetting.vue b/frontend/src/views/system/systemParamSettings/LdapSetting.vue deleted file mode 100644 index 193b15b74b..0000000000 --- a/frontend/src/views/system/systemParamSettings/LdapSetting.vue +++ /dev/null @@ -1,234 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ $t('ldap.test_connect') }} - - - {{ $t('ldap.test_login') }} - - {{ $t('ldap.edit') }} - {{ $t('commons.save') }} - - {{ $t('commons.cancel') }} - - - - - - - - - - - - - - - - - - - - -