Merge branch 'v1.5' into master

This commit is contained in:
Captain.B 2020-11-23 18:37:16 +08:00
commit 6fd3cefa81
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ public class TestPlanService {
}
}
public List<TestPlan> getTestPlanByName(String name) {
public synchronized List<TestPlan> getTestPlanByName(String name) {
TestPlanExample example = new TestPlanExample();
example.createCriteria().andWorkspaceIdEqualTo(SessionUtils.getCurrentWorkspaceId())
.andNameEqualTo(name);