|
@@ -201,7 +201,7 @@ public class JyUserPlatformServiceImpl extends ServiceImpl<IJyUserPlatformMapper
|
|
|
List<Integer> updatePlatformUserList = new ArrayList<>();
|
|
|
Integer index = 0;
|
|
|
for (HashMap<Integer, String> map : excelRowList) {
|
|
|
- if (index == 0 && !map.get(0).equals("平台用户模板")) {
|
|
|
+ if (index == 0 && (map.isEmpty() || !map.get(0).equals("平台用户模板"))) {
|
|
|
throw new BusinessException(ResultCode.TEMPLATE_TYPE_ERROR);
|
|
|
}
|
|
|
index++;
|