|
|
@@ -10,6 +10,7 @@ import org.apache.commons.lang.StringUtils;
|
|
|
import org.jsoup.Jsoup;
|
|
|
import org.jsoup.nodes.Document;
|
|
|
import org.jsoup.nodes.Element;
|
|
|
+import org.jsoup.select.Elements;
|
|
|
import org.springblade.common.constant.CommonConstant;
|
|
|
import org.springblade.common.utils.CommonUtil;
|
|
|
import org.springblade.common.utils.SnowFlakeUtil;
|
|
|
@@ -333,7 +334,7 @@ public class TrialSummaryClassificationConfigurationController extends BladeCont
|
|
|
String keyName = entry.getKey();
|
|
|
String elementValue = entry.getValue();
|
|
|
// 查找具有指定keyname属性的元素
|
|
|
- Element element = doc.selectFirst("[keyname='" + keyName + "']");
|
|
|
+ Elements element = doc.select("[keyname='" + keyName + "']");
|
|
|
if (element != null) {
|
|
|
// 设置trialSummaryReflection属性
|
|
|
element.attr("trialsummaryreflection", elementValue);
|