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

import com.xingxi.mq.server.order.mapper.ClearOrderVoMapper;
import com.xingxi.mq.server.order.service.IClearOrderVoService;
import com.xingxi.order.domain.ClearOrder;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 清算订单信息Service业务层处理
 *
 * @author xingxi
 * @date 2025-02-11
 */
@Service
public class ClearOrderVoServiceImpl implements IClearOrderVoService {
    @Autowired
    private ClearOrderVoMapper clearOrderVoMapper;

    /**
     * 修改清算订单信息
     *
     * @param clearOrder 清算订单信息
     * @return 结果
     */
    @Override
    public int syncOrderStatusByOrderId(ClearOrder clearOrder) {
        return clearOrderVoMapper.syncOrderStatusByOrderId(clearOrder);
    }
}
