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