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