首页>代码>SpringBoot项目,tk.mybatis通用mapper支持,shiro权限管理,以及mybatis分页插件,文件上传实例>/springboot/src/main/java/com/test/springboot/mapper/UsersMapper.java
package com.test.springboot.mapper;
import com.test.springboot.MyMapper.MyMapper;
import com.test.springboot.pojo.Users;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface UsersMapper extends MyMapper<Users> {
/***
* 此方法不需要写任何方法,继承mapper后 ,会有mapper的基本增删改查方法
*/
//根据用户名获取用户
//@Select("select * from user where username = #{name};")
//Users getUserbyname(@Param("name") String name);
//根据认证用户id查询此用户应有的权限
//@Select("select rolesid from user where id = #{id}")
//String getUserRoleByuid(@Param("id") Integer id);
//查询所有用户信息
//@Select("select * from user")
//List<Users> getallusers();
}
最近下载更多
微信网友_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日

