|
|
|
@ -244,8 +244,7 @@ public enum ReplaceObject implements DealWithInfoValue {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void setValue (Info info, String findStr, String |
|
|
|
|
replaceStr, List < Pair < Integer, Integer >> operatorArray){ |
|
|
|
|
public void setValue (Info info, String findStr, String replaceStr, List < Pair < Integer, Integer >> operatorArray){ |
|
|
|
|
DBTableData dbTableData = (DBTableData) info.getContent().getReplaceObject(); |
|
|
|
|
info.updateOldStr(dbTableData.getQuery(), findStr); |
|
|
|
|
dbTableData.setQuery(ShowValueUtils.replaceAll(dbTableData.getQuery(), findStr, replaceStr)); |
|
|
|
@ -255,9 +254,7 @@ public enum ReplaceObject implements DealWithInfoValue {
|
|
|
|
|
public String getInfoShowStr (Info info){ |
|
|
|
|
return info.getInfoShowStr(info); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
String name; |
|
|
|
|