Commit 16089daf by 陶光胜

取数平台调整

parent cd493dfe
...@@ -45,7 +45,6 @@ public class DecryptUtils { ...@@ -45,7 +45,6 @@ public class DecryptUtils {
if(StringUtils.isBlank(userName)){ if(StringUtils.isBlank(userName)){
return userName; return userName;
} }
int length = userName.length();
StringBuffer stringBuffer = new StringBuffer(); StringBuffer stringBuffer = new StringBuffer();
stringBuffer.append(userName.charAt(0)).append("**"); stringBuffer.append(userName.charAt(0)).append("**");
return stringBuffer.toString(); return stringBuffer.toString();
......
...@@ -69,7 +69,7 @@ public class CsvResultSetHelper implements ResultSetHelper { ...@@ -69,7 +69,7 @@ public class CsvResultSetHelper implements ResultSetHelper {
boolean doDecrypt = false; // 是否进行解密 boolean doDecrypt = false; // 是否进行解密
if (this.filterMode.equals(CsvDataFilterMode.DESENSI)) { // 如果需要脱敏 if (this.filterMode.equals(CsvDataFilterMode.DESENSI)) { // 如果需要脱敏
if (this.filters != null && this.filters.size() > 0) { if (this.filters != null && this.filters.size() > 0) {
if(filters.contains(columnName)){ if(filters.contains(columnName) || FreeQueryServiceImpl.FILETERS_USER_NAME.contains(columnName)){
doDesensi = true; doDesensi = true;
} }
} // IF OVER } // IF OVER
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment