| | |
| | | apiClothesTypeVo.setPatternState(clothesType.getPatternState()); |
| | | apiClothesTypeVo.setLocationState(clothesType.getLocationState()); |
| | | apiClothesTypeVo.setSizeState(clothesType.getSizeState()); |
| | | apiClothesTypeVo.setCarriageRuleId(10L); |
| | | } |
| | | |
| | | return new FebsResponse().success().data(apiClothesTypeVo); |
| | |
| | | |
| | | Long statureId = ObjectUtil.defaultIfNull(dto.getStatureId(),0L); |
| | | ClothesMemberStature clothesMemberStature = clothesMemberStatureMapper.selectById(statureId); |
| | | if (ObjectUtil.isNull(clothesMemberStature)){ |
| | | throw new FebsException("请选择身材数据"); |
| | | if (ObjectUtil.isNotNull(clothesMemberStature)){ |
| | | clothesOrderDraft.setStatureId(clothesMemberStature.getId()); |
| | | } |
| | | clothesOrderDraft.setStatureId(clothesMemberStature.getId()); |
| | | |
| | | clothesOrderDraftMapper.insert(clothesOrderDraft); |
| | | |