master
luoyang 5 years ago
parent e4e25acee9
commit 6e0548c65a

@ -3047,8 +3047,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
List<JSONObject> clientFiles = clientFilesMapper.findClientFile(client.getIntValue("client_id"));
JSONObject fileJson = new JSONObject();
if (clientFiles != null && clientFiles.size() > 0) {
for (int i = 0; i < fileKeys.length; i++) {
String fileKey = fileKeys[i];
for (String fileKey : fileKeys) {
List<String> clientFileUrl = clientFiles.stream()
.filter(json -> (fileKey.equals(json.getString("file_name"))))
.sorted((log1, log2) -> log2.getDate("last_update_date").compareTo(log1.getDate("last_update_date")))

Loading…
Cancel
Save