forked from github/dataease
fix: 数据同步执行记录导出功能,会报错空指针 #4708
This commit is contained in:
parent
deba4c7d4e
commit
228fd36b1d
@ -80,7 +80,7 @@ public class DataSetTableTaskLogService {
|
||||
row[0] = item.getName();
|
||||
row[1] = item.getDatasetName();
|
||||
row[2] = DateUtil.formatDateTime(new Date(item.getStartTime()));
|
||||
row[3] = DateUtil.formatDateTime(new Date(item.getEndTime()));
|
||||
row[3] = item.getEndTime() != null ? DateUtil.formatDateTime(new Date(item.getEndTime())) : "";
|
||||
row[4] = Translator.get("I18N_TASK_LOG_" + item.getStatus().toUpperCase()) ;
|
||||
return row;
|
||||
}).collect(Collectors.toList());
|
||||
|
Loading…
Reference in New Issue
Block a user