fix: 梅州三院采集判断心里量表报告时间判断,取消

master
WenYongbin 2 months ago
parent e6664c318d
commit 0602173040

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

Loading…
Cancel
Save