Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
440ef526bf
|
@ -113,6 +113,7 @@ public interface ParamConstants {
|
||||||
enum BASE implements ParamConstants {
|
enum BASE implements ParamConstants {
|
||||||
URL("base.url"),
|
URL("base.url"),
|
||||||
CONCURRENCY("base.concurrency"),
|
CONCURRENCY("base.concurrency"),
|
||||||
|
GRID_CONCURRENCY("base.grid.concurrency"),
|
||||||
PROMETHEUS_HOST("base.prometheus.host"),
|
PROMETHEUS_HOST("base.prometheus.host"),
|
||||||
SELENIUM_DOCKER_URL("base.selenium.docker.url");
|
SELENIUM_DOCKER_URL("base.selenium.docker.url");
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,6 @@ INSERT INTO system_parameter (param_key, param_value, type, sort) VALUES ('meter
|
||||||
INSERT INTO system_parameter (param_key, param_value, type, sort) VALUES ('metersphere.module.track', 'ENABLE', 'text', 1);
|
INSERT INTO system_parameter (param_key, param_value, type, sort) VALUES ('metersphere.module.track', 'ENABLE', 'text', 1);
|
||||||
INSERT INTO system_parameter (param_key, param_value, type, sort) VALUES ('metersphere.module.project', 'ENABLE', 'text', 1);
|
INSERT INTO system_parameter (param_key, param_value, type, sort) VALUES ('metersphere.module.project', 'ENABLE', 'text', 1);
|
||||||
INSERT INTO system_parameter (param_key, param_value, type, sort) VALUES ('metersphere.module.setting', 'ENABLE', 'text', 1);
|
INSERT INTO system_parameter (param_key, param_value, type, sort) VALUES ('metersphere.module.setting', 'ENABLE', 'text', 1);
|
||||||
|
INSERT INTO metersphere.system_parameter (param_key, param_value, type, sort) VALUES ('base.grid.concurrency', '8', 'text', 1);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2258,7 +2258,6 @@ public class TestCaseService {
|
||||||
public List<TestCase> getTestCaseByProjectId(String projectId) {
|
public List<TestCase> getTestCaseByProjectId(String projectId) {
|
||||||
TestCaseExample example = new TestCaseExample();
|
TestCaseExample example = new TestCaseExample();
|
||||||
example.createCriteria().andProjectIdEqualTo(projectId).andStatusNotEqualTo("Trash").andLatestEqualTo(true);
|
example.createCriteria().andProjectIdEqualTo(projectId).andStatusNotEqualTo("Trash").andLatestEqualTo(true);
|
||||||
example.or().andProjectIdEqualTo(projectId).andStatusIsNull().andLatestEqualTo(true);
|
|
||||||
return testCaseMapper.selectByExample(example);
|
return testCaseMapper.selectByExample(example);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue