Merge remote-tracking branch 'origin/main'

This commit is contained in:
liqiang-fit2cloud 2022-10-14 15:03:55 +08:00
commit 440ef526bf
3 changed files with 2 additions and 2 deletions

View File

@ -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");

View File

@ -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);

View File

@ -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);
} }