|
|
|
@ -103,6 +103,7 @@ public class AskDiagnosisResultServiceImpl implements AskDiagnosisResultService
|
|
|
|
|
ArrayList<TreatmentPlanRecordVo> otherTreatmentPlanResults = new ArrayList<>();
|
|
|
|
|
for (TreatmentPlanRecord treatmentPlanRecord : treatmentPlanRecordList) {
|
|
|
|
|
TreatmentPlanRecordVo bean = BeanUtil.toBean(treatmentPlanRecord, TreatmentPlanRecordVo.class);
|
|
|
|
|
// 是否正确
|
|
|
|
|
boolean flag = StrUtil.isNotEmpty(bean.getDrugId()) ? drugIds.contains(bean.getDrugId()) : planIds.contains(bean.getTreatmentPlanId());
|
|
|
|
|
bean.setFlag(flag ? 1 : 0);
|
|
|
|
|
if (StrUtil.isNotEmpty(bean.getDrugId())) {
|
|
|
|
|