|
|
|
@ -98,12 +98,10 @@ public class MzsyReportCollectJob {
|
|
|
|
mzsyReportDataViewList.add(mzsyReportDataView);
|
|
|
|
mzsyReportDataViewList.add(mzsyReportDataView);
|
|
|
|
fileIdDistinct.put(mzsyReportDataView.getFfileId(), "0");
|
|
|
|
fileIdDistinct.put(mzsyReportDataView.getFfileId(), "0");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Date xinLiStartDateTime=Func.parseDate("2025-04-01 00:00:00", DateUtil.PATTERN_DATETIME);
|
|
|
|
// Date xinLiStartDateTime = Func.parseDate("2025-04-01 00:00:00", DateUtil.PATTERN_DATETIME);
|
|
|
|
mzsyReportDataViewList = mzsyReportDataViewList.stream()
|
|
|
|
mzsyReportDataViewList = mzsyReportDataViewList.stream()
|
|
|
|
// 如果是心里量表,并且报告时间小于标记时间(不为心里量表或者报告时间不小于目标时间) 则不采集,医院扫描上传
|
|
|
|
// 如果是心里量表,并且报告时间小于标记时间(不为心里量表或者报告时间不小于目标时间) 则不采集,医院扫描上传
|
|
|
|
.filter(view ->
|
|
|
|
// .filter(view -> !"心理量表".equals(view.getFpatModule()) || !view.getFfileTime().before(xinLiStartDateTime))
|
|
|
|
!"心理量表".equals(view.getFpatModule()) || !view.getFfileTime().before(xinLiStartDateTime)
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
.sorted(Comparator.comparing(MzsyReportDataView::getFpatModule)
|
|
|
|
.sorted(Comparator.comparing(MzsyReportDataView::getFpatModule)
|
|
|
|
.thenComparing(MzsyReportDataView::getFfileTime))
|
|
|
|
.thenComparing(MzsyReportDataView::getFfileTime))
|
|
|
|
.collect(Collectors.toList());
|
|
|
|
.collect(Collectors.toList());
|
|
|
|
@ -124,8 +122,6 @@ public class MzsyReportCollectJob {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TableJsonRead tableJsonRead = new TableJsonRead();
|
|
|
|
TableJsonRead tableJsonRead = new TableJsonRead();
|
|
|
|
JSONObject moduleAlisConfig = tableJsonRead.Read("data-config", "mzsy-module-alis", JSONObject.class);
|
|
|
|
JSONObject moduleAlisConfig = tableJsonRead.Read("data-config", "mzsy-module-alis", JSONObject.class);
|
|
|
|
|
|
|
|
|
|
|
|
|