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