fix: 获取是否开启场景ID自定义

This commit is contained in:
shiziyuan9527 2021-05-06 18:11:49 +08:00 committed by 刘瑞斌
parent 738b60b270
commit 0111b74824
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ public class ApiAutomationService {
String projectId = request.getProjectId();
Project project = projectMapper.selectByPrimaryKey(projectId);
if (project != null) {
Boolean customNum = project.getCustomNum();
Boolean customNum = project.getScenarioCustomNum();
// 未开启自定义ID
if (!customNum) {
request.setCustomNum(null);