package com.cyksj.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cyksj.model.entity.OrderDon;
import com.cyksj.model.entity.OrderDonRenewRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 项目名: yhlxj2
 * 文件名: OrderDonRenewRecordMapper
 * 创建者: JavaZou
 * 创建时间:2024/7/19 11:45
 */
public interface OrderDonRenewRecordMapper extends BaseMapper<OrderDonRenewRecord> {

	OrderDon getOtherRenewSku(@Param("orderId") Long orderId, @Param("relationId") Long relationId, @Param("userIds") List<Long> userIds);

	List<OrderDon> getOtherRenewSkus(@Param("orderId") Long orderId, @Param("relationId") Long relationId, @Param("userIds") List<Long> userIdList);
}
