mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-10 03:16:48 +08:00
提交标题限制
This commit is contained in:
@@ -38,8 +38,8 @@ public class CasesRecommendLaunchImportServiceImpl implements ICasesRecommendLau
|
||||
if (CollectionUtil.isEmpty(dataList) || dataList.size() < 1) {
|
||||
throw new RuntimeException("导入数据为空");
|
||||
}
|
||||
String caseTitle = dataList.get(0).get(0).toString();
|
||||
if (!"标题".equals(caseTitle.trim())) {
|
||||
String title = dataList.get(0).get(0).toString();
|
||||
if (!"标题".equals(title.trim())) {
|
||||
throw new RuntimeException("导入模版错误");
|
||||
}
|
||||
int totalNum = dataList.size() - 1;
|
||||
|
||||
Reference in New Issue
Block a user