fixed 成果未去读取到数据文案

This commit is contained in:
xxq250 2026-07-14 10:47:39 +08:00
parent a4412b8d70
commit 4c63f2f369
1 changed files with 1 additions and 1 deletions

View File

@ -959,7 +959,7 @@ public class AchievementsServiceImpl implements IAchievementsService {
String operName = SecurityUtils.getUsername();
Map<String, Object> resultMap = saveDataList.isEmpty() ? new HashMap<>() : batchInsertAchievements(saveDataList, updateSupport, operName);
//
return resultMap.get("message").toString();
return resultMap.get("message") ==null ? "未去读取到数据,请确认文件压缩目录是否正确" : resultMap.get("message").toString();
} catch (IOException e) {
logger.error("读取文件失败: " + e.getMessage());
} catch (IllegalArgumentException ex) {