修改画像信息查询。

This commit is contained in:
haown 2024-07-26 10:18:56 +08:00
parent f63d0dae57
commit d4f39c848c

View File

@ -340,7 +340,9 @@ public class SignPatientRecordServiceImpl implements ISignPatientRecordService {
if (!CollectionUtils.isEmpty(labelFieldContentList)) { if (!CollectionUtils.isEmpty(labelFieldContentList)) {
// 按照任务细分分组 // 按照任务细分分组
Map<Long, List<LabelFieldInfoContentVo>> groupByPartition = labelFieldContentList.stream().collect(Collectors.groupingBy(LabelFieldInfoContentVo::getTaskPartitionDictId)); Map<Long, List<LabelFieldInfoContentVo>> groupByPartition = labelFieldContentList.stream()
.filter(labelField-> ObjectUtils.isNotEmpty(labelField.getTaskPartitionDictId()))
.collect(Collectors.groupingBy(LabelFieldInfoContentVo::getTaskPartitionDictId));
// 查询用药 // 查询用药
List<LabelFieldInfoContentVo> drugList = labelFieldContentList.stream().filter(labelField->labelField.getFieldCode().equals("DRUGNAME")).collect(Collectors.toList()); List<LabelFieldInfoContentVo> drugList = labelFieldContentList.stream().filter(labelField->labelField.getFieldCode().equals("DRUGNAME")).collect(Collectors.toList());
// 包含用药的标签列表 // 包含用药的标签列表