|
|
|
|
@ -36,6 +36,7 @@ import org.joda.time.format.DateTimeFormatter;
@@ -36,6 +36,7 @@ import org.joda.time.format.DateTimeFormatter;
|
|
|
|
|
import org.joda.time.format.ISODateTimeFormat; |
|
|
|
|
import org.reactivestreams.Subscription; |
|
|
|
|
|
|
|
|
|
import java.util.Comparator; |
|
|
|
|
import java.util.List; |
|
|
|
|
import java.util.stream.Collectors; |
|
|
|
|
|
|
|
|
|
@ -269,6 +270,8 @@ public class CalendarFragment extends BaseFragment {
@@ -269,6 +270,8 @@ public class CalendarFragment extends BaseFragment {
|
|
|
|
|
public void onNext(List<Record> recordList) { |
|
|
|
|
XLog.d("DataListOnNext 查询到数据: {}", recordList.size()); |
|
|
|
|
|
|
|
|
|
// recordList.sort((e1, e2) -> e2.getCreateDate().compareTo(e1.getCreateDate()));
|
|
|
|
|
recordList.sort(Comparator.comparing(Record::getCreateDate)); |
|
|
|
|
for (Record record : recordList) { |
|
|
|
|
Project project = BizGlobal.getAllProjectMap().get(record.getProjectId()); |
|
|
|
|
if (null == project) { |
|
|
|
|
|