BUGFIX:design new single;
This commit is contained in:
@@ -876,7 +876,7 @@ public class PythonService {
|
||||
List<CollectionElement> noPinCollectionData = getNoPinData(validateElementVO);
|
||||
if (CollectionUtil.isEmpty(noPinCollectionData)) {
|
||||
List<CollectionElement> sketchBoardPins = getPinDataWhole(validateElementVO);
|
||||
if (validateElementVO.getSingleOverall().equals(SingleOverallEnum.SINGLE.getRealName())) {
|
||||
if (CollectionUtil.isNotEmpty(sketchBoardPins) && validateElementVO.getSingleOverall().equals(SingleOverallEnum.SINGLE.getRealName())) {
|
||||
sketchBoardPins = sketchBoardPins.stream().filter(o -> o.getLevel2Type().equals(validateElementVO.getSwitchCategory())).collect(Collectors.toList());
|
||||
}
|
||||
if (CollectionUtil.isNotEmpty(sketchBoardPins)) {
|
||||
@@ -915,7 +915,7 @@ public class PythonService {
|
||||
if (validateElementVO.getModelSex().equals(Sex.FEMALE.getValue())) {
|
||||
sketchBoardCollectionElements = sketchBoardCollectionElements.stream().filter(o -> FEMALE_CATEGORY.contains(o.getLevel2Type())).collect(Collectors.toList());
|
||||
}
|
||||
if (validateElementVO.getSingleOverall().equals(SingleOverallEnum.SINGLE.getRealName())) {
|
||||
if (CollectionUtil.isNotEmpty(sketchBoardCollectionElements) && validateElementVO.getSingleOverall().equals(SingleOverallEnum.SINGLE.getRealName())) {
|
||||
sketchBoardCollectionElements = sketchBoardCollectionElements.stream().filter(o -> o.getLevel2Type().equals(validateElementVO.getSwitchCategory())).collect(Collectors.toList());
|
||||
}
|
||||
if (CollectionUtil.isNotEmpty(sketchBoardCollectionElements)) {
|
||||
|
||||
Reference in New Issue
Block a user