|
@@ -487,10 +487,9 @@ public class CopyCaseService {
|
|
for (CasePath casePath : casePaths) {
|
|
for (CasePath casePath : casePaths) {
|
|
casePath.setId(null);
|
|
casePath.setId(null);
|
|
casePath.setCaseId(newCaseId);
|
|
casePath.setCaseId(newCaseId);
|
|
- String oldPath = casePath.getPath();
|
|
|
|
- String path = oldPath;
|
|
|
|
|
|
+ String path = casePath.getPath();
|
|
for (Integer oldId : fusionNumIdMap.keySet()) {
|
|
for (Integer oldId : fusionNumIdMap.keySet()) {
|
|
- path = oldPath.replaceAll("\"modelId\":\""+oldId+"\"","\"fusionNumId\":\""+fusionNumIdMap.get(oldId)+"\"");
|
|
|
|
|
|
+ path = path.replaceAll("\"modelId\":\""+oldId+"\"","\"modelId\":\""+fusionNumIdMap.get(oldId)+"\"");
|
|
}
|
|
}
|
|
casePath.setPath(path);
|
|
casePath.setPath(path);
|
|
|
|
|