package com.sckw.mine.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sckw.mine.entity.KwBusinessActionTrack;
import com.sckw.mine.entity.req.TaskCardPageListParam;
import com.sckw.mine.entity.res.TaskCardPageListRes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
@DS("mine")
public interface KwBusinessActionTrackMapper extends BaseMapper<KwBusinessActionTrack> {

    List<KwBusinessActionTrack> findByMainOrderIdOrderByCreateTime(@Param("orderId") String orderId);

    List<TaskCardPageListRes> taskCardPageList(@Param("param") TaskCardPageListParam taskCardPageListParam);

}
