fix: 订单优惠券折扣金额不准确修复
This commit is contained in:
parent
052e1a51a4
commit
7c8d22f5ed
|
|
@ -1400,7 +1400,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
|
|||
couponInfoDTO.setOutRecordList(outRecords);
|
||||
couponInfoDTO.setCouponMap(usedCouponMap);
|
||||
|
||||
return discountAmount;
|
||||
return discountAmount.multiply(orderInfo.getDiscountRatio());
|
||||
}
|
||||
|
||||
private OrderCouponInfoDTO getCouponInfo(Integer memberId, Integer shopId, List<UserCouponInfoDTO> userCouponInfoDTOList, BigDecimal orderAmount, Set<String> productIds) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue