|
|
|
@ -28,7 +28,6 @@ import java.util.ArrayList; |
|
|
|
|
import java.util.Arrays; |
|
|
|
|
import java.util.Date; |
|
|
|
|
import java.util.List; |
|
|
|
|
import java.util.stream.Collectors; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @Description: 功能管理 |
|
|
|
@ -284,8 +283,8 @@ public class FunctionxServiceImpl extends ServiceImpl<FunctionxMapper, Functionx |
|
|
|
|
List<BugDto> bugDtoList = |
|
|
|
|
bugxService.queryBugDtoListByFunctionId(functionDto); |
|
|
|
|
// 功能对应的bug_type为2
|
|
|
|
|
bugDtoList = bugDtoList.stream().filter(bugDto -> |
|
|
|
|
bugDto.getType().equals(2)).collect(Collectors.toList()); |
|
|
|
|
/* bugDtoList = bugDtoList.stream().filter(bugDto -> |
|
|
|
|
bugDto.getType().equals(2)).collect(Collectors.toList());*/ |
|
|
|
|
functionDto.setBugDtoList(bugDtoList); |
|
|
|
|
|
|
|
|
|
functionDtoList.add(functionDto); |
|
|
|
|