package com.jwipc.contract.mapper;

import com.jwipc.contract.entity.ContractReturnOrderDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.contract.model.po.ContractReturnOrderDetailPO;
import com.jwipc.contract.model.query.ContractReturnOrderDetailsListQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 合同退货明细表 Mapper 接口
 * </p>
 *
 * @author qzc
 * @since 2025-12-16
 */
public interface ContractReturnOrderDetailMapper extends BaseMapper<ContractReturnOrderDetail> {
    List<ContractReturnOrderDetailPO> findList(@Param("query")ContractReturnOrderDetailsListQuery query);

    List<ContractReturnOrderDetail> selectSumReturnQuantity(@Param("dataKeys")List<String> dataKeys);
}
