| | |
| | | package com.dy.pipIrrGlobal.daoBa; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.dy.pipIrrGlobal.pojoBa.BaRole; |
| | | import com.dy.pipIrrGlobal.voBa.VoRole; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | |
| | | * @LastEditTime 2024-01-10 11:00 |
| | | * @Description |
| | | */ |
| | | public interface BaRoleMapper { |
| | | |
| | | @Mapper |
| | | public interface BaRoleMapper extends BaseMapper<BaRole> { |
| | | int deleteByPrimaryKey(Long id); |
| | | |
| | | int insert(BaRole record); |
| | |
| | | * @return |
| | | */ |
| | | List<VoRole> getRoles(Map<?, ?> params); |
| | | |
| | | /** |
| | | * 根据roleId逻辑删除角色对象 |
| | | * @param roleId |
| | | * @return |
| | | */ |
| | | Integer deleteRoleById(@Param("roleId") Long roleId); |
| | | } |