fix: 退款记录退款数量

This commit is contained in:
张松 2024-11-21 13:39:05 +08:00
parent 35a8d22122
commit 4922d2d576
1 changed files with 2 additions and 0 deletions

View File

@ -2149,6 +2149,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
consumeCoupon(couponInfo.getOutRecordList(), payDTO.getVipUserId(), orderInfo);
couponInfo.setProductCouponMap(BeanUtil.copyProperties(couponInfo.getProductCouponMap(), HashMap.class));
OrderInfoCouponInfoDTO infoDTO = new OrderInfoCouponInfoDTO();
infoDTO.setOutRecordList(couponInfo.getOutRecordList());
@ -2820,6 +2821,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
orderDetail.setPriceAmount(currentDetailAMount);
orderDetail.setPackAmount(returnPackFee);
orderDetail.setRefundNumber(returnNum);
orderDetail.setReturnNum(returnNum.toPlainString());
// orderDetail.setStatus(isOnline ? "refunding" : "refund");
orderDetail.setStatus("refund");
}