|
|
|
@ -55,7 +55,7 @@ public class AskDiagnosisResultServiceImpl implements AskDiagnosisResultService
|
|
|
|
|
.eq(DiagnosisPrimary::getProcessId, reqVO.getProcessId())
|
|
|
|
|
.eq(DiagnosisPrimary::getDeleteFlag, 0)
|
|
|
|
|
.list();
|
|
|
|
|
if (CollectionUtil.isNotEmpty(list)){
|
|
|
|
|
if (CollectionUtil.isEmpty(list)){
|
|
|
|
|
throw new BusinessException("您还未进行有效的初步诊断!");
|
|
|
|
|
}
|
|
|
|
|
diagnosisResult.setFinalDiagnosis(list.stream().map(DiagnosisPrimary::getPrimaryDiagnosisId).collect(Collectors.toList()));
|
|
|
|
|