fix: 退款记录退款数量
This commit is contained in:
@@ -2149,6 +2149,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
|
|||||||
consumeCoupon(couponInfo.getOutRecordList(), payDTO.getVipUserId(), orderInfo);
|
consumeCoupon(couponInfo.getOutRecordList(), payDTO.getVipUserId(), orderInfo);
|
||||||
|
|
||||||
couponInfo.setProductCouponMap(BeanUtil.copyProperties(couponInfo.getProductCouponMap(), HashMap.class));
|
couponInfo.setProductCouponMap(BeanUtil.copyProperties(couponInfo.getProductCouponMap(), HashMap.class));
|
||||||
|
|
||||||
OrderInfoCouponInfoDTO infoDTO = new OrderInfoCouponInfoDTO();
|
OrderInfoCouponInfoDTO infoDTO = new OrderInfoCouponInfoDTO();
|
||||||
infoDTO.setOutRecordList(couponInfo.getOutRecordList());
|
infoDTO.setOutRecordList(couponInfo.getOutRecordList());
|
||||||
|
|
||||||
@@ -2820,6 +2821,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
|
|||||||
orderDetail.setPriceAmount(currentDetailAMount);
|
orderDetail.setPriceAmount(currentDetailAMount);
|
||||||
orderDetail.setPackAmount(returnPackFee);
|
orderDetail.setPackAmount(returnPackFee);
|
||||||
orderDetail.setRefundNumber(returnNum);
|
orderDetail.setRefundNumber(returnNum);
|
||||||
|
orderDetail.setReturnNum(returnNum.toPlainString());
|
||||||
// orderDetail.setStatus(isOnline ? "refunding" : "refund");
|
// orderDetail.setStatus(isOnline ? "refunding" : "refund");
|
||||||
orderDetail.setStatus("refund");
|
orderDetail.setStatus("refund");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user