package com.fufan.mtsaas.modules.sysmgr.sygroup.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.fufan.mtsaas.modules.sysmgr.sygroup.bo.response.SYGroupDeptInfo;
import com.fufan.mtsaas.modules.sysmgr.sygroup.model.SYgroupDept;
import com.fufan.mtsaas.modules.sysmgr.sygroup.bo.response.SYGroupDeptInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

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

/**
  *  Mapper 接口
 *
 * @author Liby
 * @since 2019-08-18
 */
@Repository
public interface SYgroupDeptDao extends BaseMapper<SYgroupDept> {
    List<SYGroupDeptInfo> selectList(Page page, @Param("params") Map<String, String> params);

    int insertRecords(SYgroupDept sYscriptD);

    int deleteByPk(@Param("params") Map<String, String> params);
    int updateRecords(SYgroupDept sYscriptD);
}