|
@@ -449,6 +449,7 @@ public class ProductServiceImpl extends CommonBaseServiceImpl<ProductMapper, Pro
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
|
|
+ @Transactional
|
|
|
public boolean deleteByPrimaryKey(Long id) {
|
|
public boolean deleteByPrimaryKey(Long id) {
|
|
|
Product productTemp = getMapper().selectByPrimaryKey(id);
|
|
Product productTemp = getMapper().selectByPrimaryKey(id);
|
|
|
if (ObjectUtils.isEmpty(productTemp)){
|
|
if (ObjectUtils.isEmpty(productTemp)){
|