| | |
| | | clothesPattern.setOrderNum(dto.getOrderNum()); |
| | | clothesPattern.setImage(dto.getImage()); |
| | | clothesPattern.setContent(dto.getContent()); |
| | | clothesPattern.setBoxWidth(dto.getBoxWidth()); |
| | | clothesPattern.setBoxHeight(dto.getBoxHeight()); |
| | | clothesPattern.setLeftPercent(dto.getLeftPercent()); |
| | | clothesPattern.setTopPercent(dto.getTopPercent()); |
| | | clothesPatternMapper.insert(clothesPattern); |
| | | return new FebsResponse().success().message("操作成功"); |
| | | } |
| | |
| | | .set(ClothesPattern::getContent, dto.getContent()) |
| | | .set(ClothesPattern::getOrderNum, dto.getOrderNum()) |
| | | .set(ClothesPattern::getPrice, dto.getPrice()) |
| | | .set(ClothesPattern::getBoxHeight, dto.getBoxHeight()) |
| | | .set(ClothesPattern::getBoxWidth, dto.getBoxWidth()) |
| | | .set(ClothesPattern::getLeftPercent, dto.getLeftPercent()) |
| | | .set(ClothesPattern::getTopPercent, dto.getTopPercent()) |
| | | |
| | | ); |
| | | } |
| | | return new FebsResponse().success().message("操作成功"); |
| | |
| | | clothesLocation.setContent(dto.getContent()); |
| | | clothesLocation.setPrice(dto.getPrice()); |
| | | clothesLocation.setOrderNum(dto.getOrderNum()); |
| | | clothesLocation.setBoxHeight(dto.getBoxHeight()); |
| | | clothesLocation.setBoxWidth(dto.getBoxWidth()); |
| | | clothesLocation.setLeftPercent(dto.getLeftPercent()); |
| | | clothesLocation.setTopPercent(dto.getTopPercent()); |
| | | clothesLocationMapper.insert(clothesLocation); |
| | | return new FebsResponse().success().message("操作成功"); |
| | | } |
| | |
| | | .set(ClothesLocation::getPrice, dto.getPrice()) |
| | | .set(ClothesLocation::getImage, dto.getImage()) |
| | | .set(ClothesLocation::getContent, dto.getContent()) |
| | | .set(ClothesLocation::getBoxHeight, dto.getBoxHeight()) |
| | | .set(ClothesLocation::getBoxWidth, dto.getBoxWidth()) |
| | | .set(ClothesLocation::getLeftPercent, dto.getLeftPercent()) |
| | | .set(ClothesLocation::getTopPercent, dto.getTopPercent()) |
| | | ); |
| | | } |
| | | return new FebsResponse().success().message("操作成功"); |