fix: 用例评审提示已存在
This commit is contained in:
parent
f84b363aff
commit
334b607b94
|
@ -231,7 +231,8 @@ public class TestCaseReviewService {
|
|||
TestCaseReviewExample example = new TestCaseReviewExample();
|
||||
TestCaseReviewExample.Criteria criteria = example
|
||||
.createCriteria()
|
||||
.andNameEqualTo(testCaseReview.getName());
|
||||
.andNameEqualTo(testCaseReview.getName())
|
||||
.andProjectIdEqualTo(testCaseReview.getProjectId());
|
||||
|
||||
if (StringUtils.isNotBlank(testCaseReview.getId())) {
|
||||
criteria.andIdNotEqualTo(testCaseReview.getId());
|
||||
|
|
|
@ -68,6 +68,7 @@
|
|||
:field="item"
|
||||
:fields-width="fieldsWidth"
|
||||
prop="name"
|
||||
sortable
|
||||
min-width="160px"
|
||||
:label="$t('test_track.case.name')"/>
|
||||
|
||||
|
|
Loading…
Reference in New Issue