|
@@ -365,6 +365,12 @@ public class CaseDownService {
|
|
|
|
|
|
String s = FileUtil.readString(caseOfflinePath + File.separator + batName, StandardCharsets.UTF_8);
|
|
|
String s1 = s.replaceAll("@caseId", String.valueOf(caseId));
|
|
|
+
|
|
|
+ CaseEntity caseEntity = caseService.getById(caseId);
|
|
|
+ if(caseEntity.getTmProjectId() == null){
|
|
|
+ s1 = s.replaceAll("app=1", "app=2");
|
|
|
+ }
|
|
|
+
|
|
|
FileUtil.writeString(s1, caseOfflinePath + File.separator + batName,"UTF-8");
|
|
|
}
|
|
|
|