|
|
@@ -230,9 +230,11 @@ public class NjsSceneBoxModelServiceImpl extends ServiceImpl<INjsSceneBoxModelMa
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
List<JSONObject> collect = list.stream().map(v -> v.getData()).collect(Collectors.toList());
|
|
|
+ collect.sort(Comparator.comparing(
|
|
|
+ o -> ((JSONObject)o).getLong("createTime"),
|
|
|
+ Comparator.nullsLast(Long::compareTo)
|
|
|
+ ).reversed());
|
|
|
fYunFileService.uploadFile(JSON.toJSONString(collect).getBytes(StandardCharsets.UTF_8), njsBoxModelKey);
|
|
|
}
|
|
|
|