|
@@ -329,15 +329,15 @@ public class TenantActivationCodeServiceImpl extends ServiceImpl<TenantActivatio
|
|
|
|
|
|
String errTemplate = "第%s行%s";
|
|
|
// 校验数据格式是否错误
|
|
|
+ int rowIndex = 0;
|
|
|
for (ExcelDataReaderProperty<TenantActivationCodeWrapper.ImportTemplate> next : dataList) {
|
|
|
- Integer rowIndex = next.getRowIndex();
|
|
|
+ rowIndex++;
|
|
|
TenantActivationCodeWrapper.ImportTemplate code = next.getClazz();
|
|
|
|
|
|
String acCode = code.getCode();
|
|
|
if (StringUtils.isEmpty(acCode)) {
|
|
|
continue;
|
|
|
}
|
|
|
-
|
|
|
int msgRowNo = rowIndex + 1;
|
|
|
code.checkIsIllegal().forEach(err -> errMsg.add(String.format(errTemplate, msgRowNo, err)));
|
|
|
if (codeRowMap.containsKey(code.getCode())) {
|