Commit 82de7a05 by zhangkb

修改标签元数据导入接口

parent 0e2c90bd
...@@ -260,7 +260,8 @@ public class TagFileService { ...@@ -260,7 +260,8 @@ public class TagFileService {
importLog.setTotalNum(excelImportResult.getList().size() + excelImportResult.getFailList().size()); importLog.setTotalNum(excelImportResult.getList().size() + excelImportResult.getFailList().size());
importLog.setSuccessIds(successIds); importLog.setSuccessIds(successIds);
} catch (Exception e) { } catch (Exception e) {
importLog.appendErrorMsg(e.getCause().getMessage()); e.printStackTrace();
importLog.appendErrorMsg(e.getMessage());
} finally { } finally {
importLog.setReport(importLog.generateReport()); importLog.setReport(importLog.generateReport());
importLog.setEndTime(DateUtils.formatDate(new Date(), "yyyy-MM-dd HH:mm:ss")); importLog.setEndTime(DateUtils.formatDate(new Date(), "yyyy-MM-dd HH:mm:ss"));
......
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