package com.cyksj.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cyksj.model.entity.MidjourneyUserConversation;
import com.cyksj.model.views.MidjourneyUserConversationRecordHistoryView;
import com.cyksj.model.views.MidjourneyUserDetailView;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @author zwhui
 * @date 2024/4/23 16:03
 */
public interface MidjourneyUserConversationMapper extends BaseMapper<MidjourneyUserConversation> {

	MidjourneyUserDetailView getMjMirrorOrderDetail(@Param("relationId") Long relationId, @Param("startTime") Date startTime, @Param("expiryTime") Date expiryTime);

	List<MidjourneyUserConversationRecordHistoryView> getMjCarHistory(@Param("userToken") String userToken);
}
