Commit 39e5f542 by 陶光胜

临时日志

parent 4fb43846
......@@ -149,6 +149,7 @@ public class CsvResultSetHelper implements ResultSetHelper {
doDecrypt = true;
}
}
System.out.println("doDecrypt = " + doDecrypt);
// 数据处理
if (doDesensi) { // 如果需要脱敏处理
if(allFields != null && isName(columnName)){
......@@ -170,12 +171,13 @@ public class CsvResultSetHelper implements ResultSetHelper {
}
}
} else if (doDecrypt) { // 如果需要解密处理
//System.out.println("CSV 解密字段名 " + columnName);
System.out.println("CSV 解密字段名 " + columnName);
String tmpResult = resultSet.getString(i+1);
if (tmpResult != null && tmpResult.length() > 0) {
//tmpResult = DecryptUtils.getInstance().decrypt(tmpResult);
tmpResult = DecryptUtils.getInstance().decrypt(tmpResult);
} // IF OVER
System.out.println("tmpResult = " + tmpResult);
result.add(tmpResult);
} else {
int columnType = resultSet.getMetaData().getColumnType(i + 1);
......
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