fix(测试跟踪): 公共用例库中批量选择公共用例库复制到模块失败。
--bug=1008901 --user=王孝刚 【公共用例库】-批量选择公共用例库复制到模块失败。 https://www.tapd.cn/55049933/s/1081614
This commit is contained in:
parent
647fa1a2d6
commit
e56ac02942
|
@ -1339,11 +1339,8 @@ public class TestCaseService {
|
|||
batchCopy.setId(UUID.randomUUID().toString());
|
||||
batchCopy.setCreateTime(System.currentTimeMillis());
|
||||
batchCopy.setUpdateTime(System.currentTimeMillis());
|
||||
checkTestCustomNum(batchCopy);
|
||||
batchCopy.setNum(getNextNum(SessionUtils.getCurrentProjectId()));
|
||||
if (StringUtils.isBlank(batchCopy.getCustomNum())) {
|
||||
batchCopy.setCustomNum(batchCopy.getNum().toString());
|
||||
}
|
||||
batchCopy.setCustomNum(batchCopy.getNum().toString());
|
||||
batchCopy.setCreateUser(SessionUtils.getUserId());
|
||||
batchCopy.setMaintainer(SessionUtils.getUserId());
|
||||
batchCopy.setReviewStatus(TestCaseReviewStatus.Prepare.name());
|
||||
|
|
Loading…
Reference in New Issue