|
@@ -800,12 +800,6 @@ public class WebMediatorImpl implements ViewMediator {
|
|
|
|
|
|
// 测试类型的转换
|
|
|
List<String> testStringList = projectVO.getType().stream().map(testType -> {
|
|
|
-// Optional<TestTypePO> testTypePO = testTypeDao.findByCode(testType);
|
|
|
-// if (testTypePO.isPresent()) {
|
|
|
-// return testTypePO.get().getName();
|
|
|
-// } else {
|
|
|
-// throw new HttpBadRequestException("请选择测试类型");
|
|
|
-// }
|
|
|
return commonRepo.getTypeNameByCode(testType);
|
|
|
}).collect(Collectors.toList());
|
|
|
|