package org.dromara.payment.task.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.dromara.payment.task.domain.MerTask;
import org.dromara.payment.task.domain.vo.MerTaskVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

/**
 * 任务Mapper接口
 *
 * @author LionLi
 * @date 2024-04-08
 */
public interface MerTaskMapper extends BaseMapperPlus<MerTask, MerTaskVo> {


    Page<MerTaskVo> selectPageList(@Param("page") Page<MerTaskVo> build, @Param("ew") QueryWrapper<MerTask> lqw);

    MerTaskVo selectMerTaskById(@Param("id") Long id);

    int updateEndById(MerTask task);
}
