BUGFIX: 男装 outwear single design;
This commit is contained in:
@@ -413,7 +413,7 @@ public class CollectionElementServiceImpl extends ServiceImpl<CollectionElementM
|
||||
}
|
||||
outerwearNum = designDTO.getSketchBoards().stream()
|
||||
.filter(skecth -> skecth.getIsPin() == 1
|
||||
&& DesignPythonItem.OUTERWEAR.contains(skecth.getLevel2Type())).count();
|
||||
&& DesignPythonItem.OUTWEAR.contains(skecth.getLevel2Type())).count();
|
||||
if (topNum > 8 || bottomNum > 8 || outerwearNum > 8) {
|
||||
throw new BusinessException("the.number.of.PIN.top.or.bottom.or.outerwear.sketchBoard.cannot.be.more.than.8");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user