🎨 产品模块接口调整
This commit is contained in:
parent
4a34f85799
commit
a9ecf0cb91
@ -67,6 +67,7 @@ public class ProductServiceImpl extends AbstractService<Product> implements Prod
|
||||
newProduct = new Product();
|
||||
BeanCopierUtil.convert(product, newProduct);
|
||||
newProduct.setCreatedTime(new Date());
|
||||
productMapper.insertSelective(newProduct);
|
||||
// 创建产品详情
|
||||
productMapper.insertProductContent(newProduct.getIdProduct(), product.getProductContent(), product.getProductContentHtml());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user