chenr 1 ماه پیش
والد
کامیت
bbb6084a7a

+ 10 - 0
blade-service/blade-manager/src/main/java/org/springblade/manager/service/impl/WbsTreeContractServiceImpl.java

@@ -1461,6 +1461,15 @@ public class WbsTreeContractServiceImpl extends BaseServiceImpl<WbsTreeContractM
                                 keys.add(key);
                                 String data = vo.getData();
                                 values.add(data);
+                            }else{
+                                String[] array = tabData.stream().filter(o -> o.getKey().equals(key)).map(o -> o.getData()).toArray(String[]::new);
+                                String data=String.join("☆",array);
+                                for (int i = 0; i < values.size(); i++) {
+                                    if(data.contains(values.get(i))){
+                                        values.set(i,data);
+                                        break;
+                                    }
+                                }
                             }
                             if (ObjectUtil.isNotEmpty(vo.getDataLength()) && vo.getDataLength() > 250 && vo.getDataLength() <= 500) {
                                 Integer length = keyLengthMaps.get(vo.getKey());
@@ -1665,6 +1674,7 @@ public class WbsTreeContractServiceImpl extends BaseServiceImpl<WbsTreeContractM
                                     if (!placeholderValue.contains("警告") && StringUtils.isNotEmpty(placeholderValue)) {
                                         if (StringUtils.isNotEmpty(htmlStringJL)) {
                                             Document docJL = Jsoup.parse(htmlStringJL);
+                                            System.out.println("el-input[placeholderxx~=" + this.escapeRegex(placeholderValue) + ".*]");
                                             Elements tdJL = docJL.select("el-input[placeholderxx~=" + this.escapeRegex(placeholderValue) + ".*]");
 
                                             //特殊处理