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