[测评系统]--测评系统核心代码库
林致杰
2023-02-14 cc62ddcadf43a41f932b4352e747dfacef5629e3
睿邻报告三星N/A NONE修复
1个文件已修改
7 ■■■■■ 已修改文件
src/main/java/com/ots/common/utils/poi/WordUtil.java 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/ots/common/utils/poi/WordUtil.java
@@ -903,9 +903,8 @@
        if (checkText(runValue)) {
            runValue = runValue.replaceAll("%.*%", "");
            runValue = runValue.replaceAll("N/A NONE", "");
        }
        runValue = runValue.replaceAll("N/A NONE", "");
        return runValue;
    }
@@ -1348,9 +1347,9 @@
            repText = repText.replaceAll("<BoldText>", "");
            repText = repText.replaceAll("</BoldText>", "");
        }
        if (repText.indexOf("N/A NONE") != -1) {
/*        if (repText.indexOf("N/A NONE") != -1) {
            repText = repText.replaceAll("N/A NONE", "");
        }
        }*/
        return repText;
    }
    public static void changTableColor(String fileName, OutputStream out, List<JAQTableStyle> jaqTableStyleList) throws IOException {