package com.yifu.cloud.plus.v1.yifu.process.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yifu.cloud.plus.v1.yifu.process.entity.TProcess;
import com.yifu.cloud.plus.v1.yifu.process.vo.TProcessViewVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 主流程表
 *
 * @author hgw
 * @date 2020-07-16 15:44:02
 */
@Mapper
public interface TProcessMapper extends BaseMapper<TProcess> {
     /**
      * 主流程表简单分页查询
      *
      * @param tProcess 主流程表
      * @return
      */
     IPage<TProcessViewVo> getTProcessPage(Page<TProcessViewVo> page, @Param("tProcess") TProcessViewVo tProcess, @Param("type")String type);


}
