保留一份配置

This commit is contained in:
Captain.B 2020-02-20 13:32:41 +08:00
parent 61715c2d52
commit ad2dfef8a3
2 changed files with 1 additions and 16 deletions

View File

@ -1,14 +0,0 @@
package io.metersphere.commons.utils;
import org.springframework.stereotype.Component;
import java.util.Collections;
import java.util.List;
@Component
public class DBEncryptConfig implements MybatisInterceptorConfigHolder {
@Override
public List<MybatisInterceptorConfig> interceptorConfig() {
return Collections.emptyList();
}
}

View File

@ -8,12 +8,11 @@ import java.util.Arrays;
import java.util.List;
@Configuration
public class DBCompressConfig implements MybatisInterceptorConfigHolder {
public class DBEncryptConfig implements MybatisInterceptorConfigHolder {
@Override
public List<MybatisInterceptorConfig> interceptorConfig() {
return Arrays.asList(
new MybatisInterceptorConfig("io.metersphere.base.domain.FileContent", "file", "io.metersphere.commons.utils.CompressUtils", "zip", "unzip")
);
// return Collections.emptyList();
}
}