退款模式
This commit is contained in:
@@ -1841,7 +1841,7 @@ public class OrderInfoCustomServiceImpl implements OrderInfoCustomService {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void refundStock(ShopInfo shopInfo, Long orderId, Map<Long, BigDecimal> products, boolean refundStock) {
|
public void refundStock(ShopInfo shopInfo, Long orderId, Map<Long, BigDecimal> products, boolean refundStock) {
|
||||||
List<Product> list = productService.list(new QueryWrapper().select(Product::getId, Product::getCategoryId, Product::getRefundMode)
|
List<Product> list = productService.list(new QueryWrapper().select(Product::getId, Product::getCategoryId, Product::getRefundMode, Product::getIsRefundStock)
|
||||||
.eq(Product::getShopId, shopInfo.getId())
|
.eq(Product::getShopId, shopInfo.getId())
|
||||||
.in(Product::getId, products.keySet()));
|
.in(Product::getId, products.keySet()));
|
||||||
if (CollUtil.isEmpty(list)) {
|
if (CollUtil.isEmpty(list)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user