多余日志

This commit is contained in:
2025-03-31 15:27:11 +08:00
parent 0a96135fd0
commit 5573d63db4
2 changed files with 0 additions and 2 deletions

View File

@@ -472,7 +472,6 @@ public class OrderInfoServiceImpl extends ServiceImpl<OrderInfoMapper, OrderInfo
public void processOrderDetails2(List<OrderDetail> orderDetails, Map<Long, Integer> prodCouponMap, public void processOrderDetails2(List<OrderDetail> orderDetails, Map<Long, Integer> prodCouponMap,
BigDecimalDTO prodCouponAmount, BigDecimalDTO totalAmount, BigDecimalDTO packAmount, BigDecimalDTO prodCouponAmount, BigDecimalDTO totalAmount, BigDecimalDTO packAmount,
boolean isAllPack, Integer userAllPack, boolean isVipPrice) { boolean isAllPack, Integer userAllPack, boolean isVipPrice) {
log.info("霸王餐入参2 userAllPack{}", userAllPack);
Map<Long, List<OrderDetail>> detailMap = new HashMap<>(); Map<Long, List<OrderDetail>> detailMap = new HashMap<>();
for (OrderDetail detail : orderDetails) { for (OrderDetail detail : orderDetails) {
detailMap.computeIfAbsent(detail.getProductId(), k -> new ArrayList<>()).add(detail); detailMap.computeIfAbsent(detail.getProductId(), k -> new ArrayList<>()).add(detail);

View File

@@ -149,7 +149,6 @@ public class PayServiceImpl implements PayService {
BigDecimalDTO totalAmount = new BigDecimalDTO(BigDecimal.ZERO); BigDecimalDTO totalAmount = new BigDecimalDTO(BigDecimal.ZERO);
//最终打包费 //最终打包费
BigDecimalDTO packAmount = new BigDecimalDTO(BigDecimal.ZERO); BigDecimalDTO packAmount = new BigDecimalDTO(BigDecimal.ZERO);
log.info("霸王餐入参:{}", JSON.toJSONString(payParam));
orderInfoService.processOrderDetails2(orderDetails, null, null, totalAmount, packAmount, payParam.isAllPack(), payParam.getUserAllPack(), false); orderInfoService.processOrderDetails2(orderDetails, null, null, totalAmount, packAmount, payParam.isAllPack(), payParam.getUserAllPack(), false);
BigDecimal total = totalAmount.getPrice().add(packAmount.getPrice()); BigDecimal total = totalAmount.getPrice().add(packAmount.getPrice());
if (total.compareTo(freeConfig.getRechargeThreshold()) < 0) { if (total.compareTo(freeConfig.getRechargeThreshold()) < 0) {