| | |
| | | if(CollUtil.isNotEmpty(list)){ |
| | | vos = buildApiClothesCategoryInfoVo(list, vos); |
| | | } |
| | | ApiClothesCategoryInfoVo apiClothesCategoryInfoVo = new ApiClothesCategoryInfoVo(); |
| | | apiClothesCategoryInfoVo.setId(0L); |
| | | apiClothesCategoryInfoVo.setName("全部"); |
| | | vos.add(apiClothesCategoryInfoVo); |
| | | |
| | | return new FebsResponse().success().data(vos); |
| | | } |
| | | |
| | |
| | | |
| | | List<ClothesLocationRemark> clothesLocationRemarks = new ArrayList<>(); |
| | | List<ClothesPatternRemark> clothesPatternRemarks = new ArrayList<>(); |
| | | if(CollUtil.isEmpty(clothesOrderItems)){ |
| | | if(CollUtil.isNotEmpty(clothesOrderItems)){ |
| | | for (ClothesOrderItem item : clothesOrderItems){ |
| | | if (ClothesOrderItemEnum.CLOTH.getCode() == item.getType()) { |
| | | ClothesCloth cloth = clothesClothMapper.selectById(item.getItemId()); |