提交 5b312b26 authored 作者:  狄熙卜's avatar 狄熙卜

bug修改

上级 f7e01fc2
...@@ -109,7 +109,7 @@ public class EncryptInterceptor implements Interceptor { ...@@ -109,7 +109,7 @@ public class EncryptInterceptor implements Interceptor {
} }
this.cryptProperties.setGlobalEnableFields(dbEncryptXmlConfig.getGlobalEnableFields()); this.cryptProperties.setGlobalEnableFields(dbEncryptXmlConfig.getGlobalEnableFields());
this.cryptProperties.setGlobalDisableEntityFields(dbEncryptXmlConfig.getGlobalDisableMapFields()); this.cryptProperties.setGlobalDisableMapFields(dbEncryptXmlConfig.getGlobalDisableMapFields());
this.cryptProperties.setGlobalDisableEntityFields(dbEncryptXmlConfig.getGlobalDisableEntityFields()); this.cryptProperties.setGlobalDisableEntityFields(dbEncryptXmlConfig.getGlobalDisableEntityFields());
this.cryptProperties.setSqlFileds(dbEncryptXmlConfig.getSqlFileds()); this.cryptProperties.setSqlFileds(dbEncryptXmlConfig.getSqlFileds());
this.cryptProperties.setSqlEncryptFileds(dbEncryptXmlConfig.getSqlEncryptFileds()); this.cryptProperties.setSqlEncryptFileds(dbEncryptXmlConfig.getSqlEncryptFileds());
......
...@@ -58,7 +58,7 @@ public class GmSm4CryptExecutor implements CryptExecutor { ...@@ -58,7 +58,7 @@ public class GmSm4CryptExecutor implements CryptExecutor {
return encrytString; return encrytString;
}else{ }else{
try { try {
String separatorChars = cn.gtmap.sdk.mybatis.plugin.utils.CryptUtil.getSeparatorChars(encrytString); String separatorChars = CryptUtil.getSeparatorChars(encrytString);
if (StringUtils.isNotEmpty(cryptProperties.getSeparator()) && !StringUtils.equalsIgnoreCase(separatorChars, cryptProperties.getSeparator())) { if (StringUtils.isNotEmpty(cryptProperties.getSeparator()) && !StringUtils.equalsIgnoreCase(separatorChars, cryptProperties.getSeparator())) {
separatorChars = cryptProperties.getSeparator(); separatorChars = cryptProperties.getSeparator();
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论