郑永安
2023-06-19 59e91a4e9ddaf23cebb12993c774aa899ab22d16
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.gk.firework.Mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gk.firework.Domain.RoleInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
 
import java.util.List;
 
 
@Repository
public interface RoleInfoMapper extends BaseMapper<RoleInfo> {
    int deleteByPrimaryKey(Long id);
 
    RoleInfo selectByPrimaryKey(Long id);
 
    int updateByPrimaryKeySelective(RoleInfo record);
 
    int updateByPrimaryKey(RoleInfo record);
 
    List<RoleInfo> selectRoleByUser(Long id);
 
    List<RoleInfo> selectList(String name);
 
    List<RoleInfo> selectExistRole(@Param("id") Long id, @Param("name") String name);
}