From 53bc464316c2374ee278ed94f91ad2a001a2260e Mon Sep 17 00:00:00 2001 From: xueqingkun Date: Fri, 8 Dec 2023 16:36:44 +0800 Subject: [PATCH] =?UTF-8?q?manage:=20=E8=BD=AC=E7=A7=BBqueryTree=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE-=E4=B8=BA=E6=AF=8F=E4=B8=80=E4=B8=AAid=E4=B8=BA?= =?UTF-8?q?=E7=A9=BA=E7=9A=84node=E7=94=9F=E6=88=90=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E8=99=9A=E6=8B=9F=E7=9A=84id=EF=BC=8C=E4=B8=BB=E8=A6=81?= =?UTF-8?q?=E6=98=AF=E4=B8=BA=E5=89=8D=E7=AB=AF=E7=BB=84=E4=BB=B6=E4=BD=BF?= =?UTF-8?q?=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ConfigConfigTreatmentPlanServiceImpl.java | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/virtual-patient-model/src/main/java/com/supervision/service/impl/ConfigConfigTreatmentPlanServiceImpl.java b/virtual-patient-model/src/main/java/com/supervision/service/impl/ConfigConfigTreatmentPlanServiceImpl.java index 45d38dbb..c0312f7e 100644 --- a/virtual-patient-model/src/main/java/com/supervision/service/impl/ConfigConfigTreatmentPlanServiceImpl.java +++ b/virtual-patient-model/src/main/java/com/supervision/service/impl/ConfigConfigTreatmentPlanServiceImpl.java @@ -2,6 +2,7 @@ package com.supervision.service.impl; import cn.hutool.core.collection.CollUtil; import cn.hutool.core.util.StrUtil; +import cn.hutool.crypto.digest.MD5; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.supervision.model.ConfigTreatmentPlan; import com.supervision.service.ConfigTreatmentPlanService; @@ -70,8 +71,30 @@ public class ConfigConfigTreatmentPlanServiceImpl extends ServiceImpl child = node.getChild(); + for (TreatmentPlanTreeNode treatmentPlanTreeNode : child) { + setTreatmentPlanTreeNodeVirtualId(treatmentPlanTreeNode); + } + } + } + }