fix(接口测试): 场景切换版本后再切回去,发现不是一个场景了

--bug=1009780 --user=王孝刚 【接口测试】场景切换版本后再切回去,发现不是一个场景了
https://www.tapd.cn/55049933/s/1097384
This commit is contained in:
wxg0103 2022-01-24 16:13:22 +08:00 committed by fit2-zhao
parent 469634f290
commit 2d807f97cc
1 changed files with 3 additions and 0 deletions

View File

@ -1930,6 +1930,9 @@ public class ApiAutomationService {
api.setApiScenarioModuleId(request.getApiScenarioModuleId());
api.setModulePath(request.getModulePath());
api.setOrder(nextOrder += ServiceUtils.ORDER_STEP);
api.setCreateTime(System.currentTimeMillis());
api.setUpdateTime(System.currentTimeMillis());
api.setRefId(api.getId());
api.setNum(nextNum++);
mapper.insert(api);
if (i % 50 == 0)