fix: 获取是否开启场景ID自定义
This commit is contained in:
parent
738b60b270
commit
0111b74824
|
@ -249,7 +249,7 @@ public class ApiAutomationService {
|
||||||
String projectId = request.getProjectId();
|
String projectId = request.getProjectId();
|
||||||
Project project = projectMapper.selectByPrimaryKey(projectId);
|
Project project = projectMapper.selectByPrimaryKey(projectId);
|
||||||
if (project != null) {
|
if (project != null) {
|
||||||
Boolean customNum = project.getCustomNum();
|
Boolean customNum = project.getScenarioCustomNum();
|
||||||
// 未开启自定义ID
|
// 未开启自定义ID
|
||||||
if (!customNum) {
|
if (!customNum) {
|
||||||
request.setCustomNum(null);
|
request.setCustomNum(null);
|
||||||
|
|
Loading…
Reference in New Issue