fix(接口测试): 修复批量存储特殊字符处理
This commit is contained in:
parent
b42f39b370
commit
4248d2b029
|
@ -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