TASK: 印花逻辑;
This commit is contained in:
@@ -1596,9 +1596,14 @@ public class PythonService {
|
||||
print.setPath("none");
|
||||
return print;
|
||||
}
|
||||
List<CollectionElement> printBoardElements = elementVO.getPrintBoardElements()
|
||||
.stream()
|
||||
.filter(f -> !elementVO.getHasUseMd5List().contains(f.getMd5())).collect(Collectors.toList());
|
||||
List<CollectionElement> printBoardElements;
|
||||
if (designPrintPictureType.equals(CurrentDesignPrintPictureTypeEnum.PIN)) {
|
||||
printBoardElements = elementVO.getPrintBoardElements()
|
||||
.stream()
|
||||
.filter(f -> !elementVO.getHasUseMd5List().contains(f.getMd5())).collect(Collectors.toList());
|
||||
}else {
|
||||
printBoardElements = elementVO.getPrintBoardElements();
|
||||
}
|
||||
if (CollectionUtil.isEmpty(printBoardElements)) {
|
||||
print.setPath("none");
|
||||
return print;
|
||||
|
||||
Reference in New Issue
Block a user