diff --git a/com.awspaas.user.apps.coe.pal.output.zd/lib/com.awspaas.user.apps.coe.pal.output.zd.jar b/com.awspaas.user.apps.coe.pal.output.zd/lib/com.awspaas.user.apps.coe.pal.output.zd.jar index 28f5ea0a..7a59ae71 100644 Binary files a/com.awspaas.user.apps.coe.pal.output.zd/lib/com.awspaas.user.apps.coe.pal.output.zd.jar and b/com.awspaas.user.apps.coe.pal.output.zd/lib/com.awspaas.user.apps.coe.pal.output.zd.jar differ diff --git a/com.awspaas.user.apps.coe.pal.output.zd/src/com/awspaas/apps/coe/pal/output/zd/report1/Report1Gener.java b/com.awspaas.user.apps.coe.pal.output.zd/src/com/awspaas/apps/coe/pal/output/zd/report1/Report1Gener.java index 7b8554bf..ba5faf84 100644 --- a/com.awspaas.user.apps.coe.pal.output.zd/src/com/awspaas/apps/coe/pal/output/zd/report1/Report1Gener.java +++ b/com.awspaas.user.apps.coe.pal.output.zd/src/com/awspaas/apps/coe/pal/output/zd/report1/Report1Gener.java @@ -267,7 +267,14 @@ public class Report1Gener { // 获取字符串 content = getFileContent(file); - content = content.substring(content.indexOf("") + 9, content.indexOf("") + 9, content.indexOf("") + 8 , content.indexOf("")); + String [] arr = content.split(""); + StringBuilder tmp = new StringBuilder(); + for (int i = 0; i < arr.length; i++) { + tmp.append(arr[i].substring(arr[i].indexOf("") + 9)); + } + content = tmp.toString(); // System.out.println(content); // System.out.println("以上的是替换前文本,以下是替换后文本"); String [] contentArr = content.split("