fix(接口测试): 修复批量存储特殊字符处理
This commit is contained in:
parent
0b301d39f2
commit
664855791c
|
@ -15,7 +15,7 @@ public class ExtApiDefinitionExecResultProvider {
|
|||
.append("'")
|
||||
.append(result.getId())
|
||||
.append("','")
|
||||
.append(result.getName())
|
||||
.append(result.getName().replace("\'", "\\'"))
|
||||
.append("','")
|
||||
.append(result.getResourceId())
|
||||
.append("','")
|
||||
|
|
|
@ -17,7 +17,7 @@ public class ExtApiScenarioReportProvider {
|
|||
.append("','")
|
||||
.append(result.getProjectId())
|
||||
.append("','")
|
||||
.append(result.getName())
|
||||
.append(result.getName().replace("\'", "\\'"))
|
||||
.append("',")
|
||||
.append(result.getCreateTime())
|
||||
.append(",")
|
||||
|
@ -31,7 +31,7 @@ public class ExtApiScenarioReportProvider {
|
|||
.append("','")
|
||||
.append(result.getExecuteType())
|
||||
.append("','")
|
||||
.append(result.getScenarioName())
|
||||
.append(result.getScenarioName().replace("\'", "\\'"))
|
||||
.append("','")
|
||||
.append(result.getScenarioId())
|
||||
.append("','")
|
||||
|
|
Loading…
Reference in New Issue