oying-system/src/main/java/com/oying/modules/pc/product/service/impl/ProductServiceImpl.java
@@ -66,6 +66,18 @@ @Override @Transactional(rollbackFor = Exception.class) public void update(Product resources, boolean isDirectUpdate) { if (isDirectUpdate) { productMapper.updateById(resources); } else { Product product = getById(resources.getProductId()); product.copy(resources); productMapper.updateById(product); } } @Override @Transactional(rollbackFor = Exception.class) public void deleteAll(List<Long> ids) { for (Long id : ids) { LambdaUpdateWrapper<Product> wrapper = new LambdaUpdateWrapper<Product>()