提交用户日志输出目录

This commit is contained in:
Guava
2023-06-21 13:47:04 +08:00
parent 44b9cffc5f
commit 12e46b47b7
2 changed files with 3 additions and 3 deletions

View File

@@ -34,10 +34,10 @@ public class CasesRecommendLaunchImportServiceImpl implements ICasesRecommendLau
@Override
public String importData(List<List<Object>> dataList) {
if (CollectionUtil.isEmpty(dataList)) {
if (CollectionUtil.isEmpty(dataList) || dataList.size() < 1) {
throw new RuntimeException("导入数据为空");
}
int totalNum = dataList.size();
int totalNum = dataList.size() - 1;
int successNum = 0;
int failNum = 0;
String importId = IdUtil.getSnowflakeNextId() + "";