Commit cac57891 by zhangkb

修改导入日志打印

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