Commit 2b84693d by zhangkb

打印标签元数据导入日志

parent 86c142e5
...@@ -69,7 +69,7 @@ public class ImportLog implements Serializable { ...@@ -69,7 +69,7 @@ public class ImportLog implements Serializable {
public String generateReport() { public String generateReport() {
int failNum = totalNum - successIds.size(); int failNum = totalNum - successIds.size();
String firstPart = String.format("总共导入:%s条, 成功条数为:%s, 失败条数为:%s", totalNum, successIds.size(), failNum); String firstPart = String.format("总共导入:%s条, 成功条数为:%s, 失败条数为:%s", totalNum, successIds.size(), failNum);
if (failNum > 0) { if (failNum >= 0) {
firstPart += "<br>"; firstPart += "<br>";
firstPart += errorMsgSb.toString(); firstPart += errorMsgSb.toString();
} }
......
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