首页>代码>SpringBoot项目,tk.mybatis通用mapper支持,shiro权限管理,以及mybatis分页插件,文件上传实例>/springboot/src/main/java/com/test/springboot/mapper/RolesMapper.java
01 | package com.test.springboot.mapper; |
02 |
03 | import com.test.springboot.MyMapper.MyMapper; |
04 | import com.test.springboot.pojo.Roles; |
05 | import org.apache.ibatis.annotations.Mapper; |
06 |
07 | @Mapper |
08 | public interface RolesMapper extends MyMapper<Roles> { |
09 |
10 | /*** |
11 | * 此方法不需要写任何方法,继承mapper后 ,会有mapper的基本增删改查方法 |
12 | */ |
13 |
14 | // //根据权限id获取权限完整信息 |
15 | // @Select("select * from roles where id = #{id};") |
16 | // Roles getRoleByid(@Param("id") Integer id); |
17 | // //获取全部信息 |
18 | // @Select("select * from roles;") |
19 | // List<Roles> getAllRoles(); |
20 | } |

微信网友_6377331253415936 LV3
2024年11月5日
微信网友_7134912998903808 LV15
2024年8月29日
1529860026 LV24
2022年9月5日
彬 LV6
2022年6月25日
wwssll LV2
2022年5月9日
heweimin LV13
2022年4月9日
szf123 LV12
2021年11月11日
qazxsw_ LV10
2021年9月17日
qq70081337 LV6
2021年9月10日
build12398 LV18
2021年7月28日

citybird LV4
2024年11月20日
微信网友_6377331253415936 LV3
2024年11月5日
bluerstar LV1
2024年10月23日
微信网友_7134912998903808 LV15
2024年8月29日
ma406805131 LV19
2024年6月15日
lllajen
2024年6月9日
暂无贡献等级
WBelong LV8
2024年3月7日
janly989713 LV3
2024年3月4日
weilaizhisheng LV21
2023年12月26日
wnnmmb LV2
2023年11月12日