fix: 场景描述无法保存
This commit is contained in:
parent
9107a21d74
commit
a2faa2bc87
|
@ -232,6 +232,7 @@ public class ApiAutomationService {
|
|||
scenario.setPrincipal(request.getPrincipal());
|
||||
scenario.setStepTotal(request.getStepTotal());
|
||||
scenario.setUpdateTime(System.currentTimeMillis());
|
||||
scenario.setDescription(request.getDescription());
|
||||
scenario.setScenarioDefinition(JSON.toJSONString(request.getScenarioDefinition()));
|
||||
if (StringUtils.isNotEmpty(request.getStatus())) {
|
||||
scenario.setStatus(request.getStatus());
|
||||
|
|
Loading…
Reference in New Issue