package com.xingxi.mq.server.order.service.impl;

import com.xingxi.mq.server.order.mapper.ClearOrderDetailVoMapper;
import com.xingxi.mq.server.order.service.IClearOrderDetailVoService;
import com.xingxi.order.domain.ClearOrderDetail;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 清算订单详细信息Service业务层处理
 *
 * @author xingxi
 * @date 2025-02-11
 */
@Service
public class ClearOrderDetailVoServiceImpl implements IClearOrderDetailVoService {
    @Autowired
    private ClearOrderDetailVoMapper clearOrderDetailVoMapper;

    /**
     * 更新退货数量
     *
     * @param clearOrderDetail 清算订单详细信息
     * @return 清算订单详细信息Vo集合
     */
    public int updateReturnQty(ClearOrderDetail clearOrderDetail) {
        return clearOrderDetailVoMapper.updateReturnQty(clearOrderDetail);
    }
}
