package com.jwipc.contract.service.impl;

import com.jwipc.contract.entity.ContractReturnOrderDetail;
import com.jwipc.contract.mapper.ContractReturnOrderDetailMapper;
import com.jwipc.contract.model.po.ContractReturnOrderDetailPO;
import com.jwipc.contract.model.query.ContractReturnOrderDetailsListQuery;
import com.jwipc.contract.service.IContractReturnOrderDetailService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 合同退货明细表 服务实现类
 * </p>
 *
 * @author qzc
 * @since 2025-12-16
 */
@Service
public class ContractReturnOrderDetailServiceImpl extends ServiceImpl<ContractReturnOrderDetailMapper, ContractReturnOrderDetail> implements IContractReturnOrderDetailService {

    @Override
    public List<ContractReturnOrderDetailPO> findList(ContractReturnOrderDetailsListQuery query) {
        return this.baseMapper.findList(query);
    }

    @Override
    public List<ContractReturnOrderDetail> selectSumReturnQuantity(List<String> dataKeys) {
        return this.baseMapper.selectSumReturnQuantity(dataKeys);
    }
}
