package com.jeeplus.psimanage.contract.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jeeplus.psimanage.contract.domain.PsiContract;
import com.jeeplus.psimanage.contract.service.dto.PsiContractInfoDto;
import org.apache.ibatis.annotations.Param;

/**
 * @author: 王强
 * @create: 2023-01-13 14:29
 **/
public interface PsiContractMapper extends BaseMapper<PsiContract> {

    void updateStatusById(@Param("id") String id, @Param("type") String type);

    IPage<PsiContractInfoDto> findList(Page<PsiContractInfoDto> page, @Param(Constants.WRAPPER) QueryWrapper<PsiContractInfoDto> queryWrapper);
}
