fix(87790): 新旧拆分单对比优化速度
This commit is contained in:
+3
-3
@@ -198,9 +198,9 @@ public class SarFileCompareInfoServiceImpl extends ServiceImpl<SarFileCompareInf
|
||||
String rightTxt = rightItemList.get(j).getItemsText();
|
||||
// String rightAllTxt = rightItemList.get(j).getItemsNum() + rightItemList.get(j).getItemsName() + rightItemList.get(j).getItemsText();
|
||||
StringBuilder sb2 = new StringBuilder();
|
||||
sb.append(rightItemList.get(i).getItemsNum())
|
||||
.append(rightItemList.get(i).getItemsName())
|
||||
.append(rightItemList.get(i).getItemsText());
|
||||
sb.append(rightItemList.get(j).getItemsNum())
|
||||
.append(rightItemList.get(j).getItemsName())
|
||||
.append(rightItemList.get(j).getItemsText());
|
||||
String rightAllTxt = sb2.toString();
|
||||
if (null != rightAllTxt && !rightAllTxt.isEmpty()) {
|
||||
double similarity = 0;
|
||||
|
||||
Reference in New Issue
Block a user