package com.dy.pipIrrGlobal.daoBa;
|
|
import com.dy.pipIrrGlobal.pojoBa.BaRole;
|
import com.dy.pipIrrGlobal.voBa.VoRole;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* @author ZhuBaoMin
|
* @date 2024-01-10 11:00
|
* @LastEditTime 2024-01-10 11:00
|
* @Description
|
*/
|
public interface BaRoleMapper {
|
int deleteByPrimaryKey(Long id);
|
|
int insert(BaRole record);
|
|
int insertSelective(BaRole record);
|
|
BaRole selectByPrimaryKey(Long id);
|
|
int updateByPrimaryKeySelective(BaRole record);
|
|
int updateByPrimaryKey(BaRole record);
|
|
/**
|
* 根据角色名称查询记录数量
|
* @param roleName
|
* @return
|
*/
|
Integer getRecordCountByName(@Param("roleName") String roleName);
|
|
/**
|
* 根据指定条件获取角色记录数
|
* @param params
|
* @return
|
*/
|
Long getRecordCount(Map<?, ?> params);
|
|
/**
|
* 根据指定条件获取角色记录
|
* @param params
|
* @return
|
*/
|
List<VoRole> getRoles(Map<?, ?> params);
|
}
|