mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-11-30 02:58:31 +08:00
fix(测试跟踪): 用例脑图保存报错
--bug=1018924 --user=陈建星 【测试跟踪】测试用例-脑图-编辑-保存报500 https://www.tapd.cn/55049933/s/1278354
This commit is contained in:
parent
cfbe544131
commit
d8fbe2ca5e
@ -439,6 +439,9 @@ public class TestCaseService {
|
||||
* @param testCase
|
||||
*/
|
||||
private void createNewVersionOrNot(EditTestCaseRequest testCase) {
|
||||
if (StringUtils.isBlank(testCase.getVersionId())) {
|
||||
return;
|
||||
}
|
||||
TestCaseExample example = new TestCaseExample();
|
||||
example.createCriteria().andIdEqualTo(testCase.getId())
|
||||
.andVersionIdEqualTo(testCase.getVersionId());
|
||||
|
Loading…
Reference in New Issue
Block a user