首页 星云 工具 资源 星选 资讯 热门工具
:

PDF转图片 完全免费 小红书视频下载 无水印 抖音视频下载 无水印 数字星空

二、前后端分离通用权限系统(2)gansu-auth-parent(2).zip

后端 84.07KB 24 需要积分: 1
立即下载

资源介绍:

二、前后端分离通用权限系统(2)gansu-auth-parent(2).zip
package com.gansu.system; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.gansu.model.system.SysRole; import com.gansu.system.mapper.SysRoleMapper; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import java.util.ArrayList; import java.util.Arrays; import java.util.List; @SpringBootTest public class SysRoleMapperTest { @Autowired private SysRoleMapper sysRoleMapper; @Test //org.junit.jupiter.api.Test; 导入 junit5 public void test1(){ //UserMapper 中的 selectList() 方法的参数为 MP 内置的条件封装器 Wrapper //所以不填写就是无任何条件 List sysRoles = sysRoleMapper.selectList(null); for (SysRole sysRole : sysRoles) { System.out.println(sysRole); } } @Test //增加 public void test2(){ SysRole sysRole1 = new SysRole(); sysRole1.setRoleName("角色管理"); sysRole1.setRoleCode("roleManager"); sysRole1.setDescription("角色描述"); int insert = sysRoleMapper.insert(sysRole1); System.out.println(insert); //影响的行数 System.out.println(sysRole1.getId());//id自动会增 } @Test //更新 public void test3(){ SysRole sysRole1 = new SysRole(); sysRole1.setId(1824717962347577345L); sysRole1.setRoleName("橘色管理88"); sysRole1.setRoleCode("8888888"); sysRole1.setDescription("橘色描述"); int i = sysRoleMapper.updateById(sysRole1); System.out.println(i); //影响的行数 System.out.println(sysRole1.getId());//id不变 } @Test //根据id删除 public void test4(){ //逻辑删除 // sysRoleMapper.deleteById(1824717962347577345L); //批量删除 sysRoleMapper.deleteBatchIds(Arrays.asList(1824717962347577346L,1824717962347577347L)); } @Test //模糊查询 public void test5(){ //1.创建构造器 QueryWrapper wrapper = new QueryWrapper<>(); //wrapper.eq("role_name","普通管理员"); wrapper.like("role_name","管理员"); List sysRoles = sysRoleMapper.selectList(wrapper); System.out.println(sysRoles); } @Test //删除 public void test6(){ //1.创建构造器 QueryWrapper wrapper = new QueryWrapper<>(); wrapper.eq("role_name","用户管理员"); sysRoleMapper.delete(wrapper); } }

资源文件列表:

gansu-auth-parent(2).zip 大约有134个文件
  1. gansu-auth-parent/
  2. gansu-auth-parent/.idea/
  3. gansu-auth-parent/.idea/compiler.xml 877B
  4. gansu-auth-parent/.idea/encodings.xml 483B
  5. gansu-auth-parent/.idea/misc.xml 671B
  6. gansu-auth-parent/.idea/modules.xml 307B
  7. gansu-auth-parent/.idea/workspace.xml 47.55KB
  8. gansu-auth-parent/common/
  9. gansu-auth-parent/common/common-util/
  10. gansu-auth-parent/common/common-util/common-util.iml 344B
  11. gansu-auth-parent/common/common-util/pom.xml 1.29KB
  12. gansu-auth-parent/common/common-util/src/
  13. gansu-auth-parent/common/common-util/src/main/
  14. gansu-auth-parent/common/common-util/src/main/java/
  15. gansu-auth-parent/common/common-util/src/main/resources/
  16. gansu-auth-parent/common/common-util/src/test/
  17. gansu-auth-parent/common/common-util/src/test/java/
  18. gansu-auth-parent/common/pom.xml 631B
  19. gansu-auth-parent/common/service-util/
  20. gansu-auth-parent/common/service-util/pom.xml 1.14KB
  21. gansu-auth-parent/common/service-util/src/
  22. gansu-auth-parent/common/service-util/src/main/
  23. gansu-auth-parent/common/service-util/src/main/java/
  24. gansu-auth-parent/common/service-util/src/main/resources/
  25. gansu-auth-parent/common/service-util/src/test/
  26. gansu-auth-parent/common/service-util/src/test/java/
  27. gansu-auth-parent/gansu-auth-parent.iml 81B
  28. gansu-auth-parent/model/
  29. gansu-auth-parent/model/pom.xml 1.07KB
  30. gansu-auth-parent/model/src/
  31. gansu-auth-parent/model/src/main/
  32. gansu-auth-parent/model/src/main/java/
  33. gansu-auth-parent/model/src/main/resources/
  34. gansu-auth-parent/model/src/test/
  35. gansu-auth-parent/model/src/test/java/
  36. gansu-auth-parent/pom.xml 2.86KB
  37. gansu-auth-parent/service-system/
  38. gansu-auth-parent/service-system/pom.xml 1.54KB
  39. gansu-auth-parent/service-system/service-system.iml 81B
  40. gansu-auth-parent/service-system/src/
  41. gansu-auth-parent/service-system/src/main/
  42. gansu-auth-parent/service-system/src/main/java/
  43. gansu-auth-parent/service-system/src/main/java/com/
  44. gansu-auth-parent/service-system/src/main/java/com/gansu/
  45. gansu-auth-parent/service-system/src/main/java/com/gansu/model/
  46. gansu-auth-parent/service-system/src/main/java/com/gansu/model/base/
  47. gansu-auth-parent/service-system/src/main/java/com/gansu/model/base/BaseEntity.java 826B
  48. gansu-auth-parent/service-system/src/main/java/com/gansu/model/system/
  49. gansu-auth-parent/service-system/src/main/java/com/gansu/model/system/SysDept.java 1.2KB
  50. gansu-auth-parent/service-system/src/main/java/com/gansu/model/system/SysLoginLog.java 970B
  51. gansu-auth-parent/service-system/src/main/java/com/gansu/model/system/SysMenu.java 1.42KB
  52. gansu-auth-parent/service-system/src/main/java/com/gansu/model/system/SysOperLog.java 1.89KB
  53. gansu-auth-parent/service-system/src/main/java/com/gansu/model/system/SysPost.java 840B
  54. gansu-auth-parent/service-system/src/main/java/com/gansu/model/system/SysRole.java 651B
  55. gansu-auth-parent/service-system/src/main/java/com/gansu/model/system/SysRoleMenu.java 683B
  56. gansu-auth-parent/service-system/src/main/java/com/gansu/model/system/SysUser.java 1.45KB
  57. gansu-auth-parent/service-system/src/main/java/com/gansu/model/system/SysUserRole.java 642B
  58. gansu-auth-parent/service-system/src/main/java/com/gansu/model/vo/
  59. gansu-auth-parent/service-system/src/main/java/com/gansu/model/vo/AssginMenuVo.java 396B
  60. gansu-auth-parent/service-system/src/main/java/com/gansu/model/vo/AssginRoleVo.java 396B
  61. gansu-auth-parent/service-system/src/main/java/com/gansu/model/vo/LoginVo.java 510B
  62. gansu-auth-parent/service-system/src/main/java/com/gansu/model/vo/MetaVo.java 476B
  63. gansu-auth-parent/service-system/src/main/java/com/gansu/model/vo/RouterVo.java 769B
  64. gansu-auth-parent/service-system/src/main/java/com/gansu/model/vo/SysLoginLogQueryVo.java 278B
  65. gansu-auth-parent/service-system/src/main/java/com/gansu/model/vo/SysOperLogQueryVo.java 208B
  66. gansu-auth-parent/service-system/src/main/java/com/gansu/model/vo/SysPostQueryVo.java 318B
  67. gansu-auth-parent/service-system/src/main/java/com/gansu/model/vo/SysRoleQueryVo.java 415B
  68. gansu-auth-parent/service-system/src/main/java/com/gansu/model/vo/SysUserQueryVo.java 407B
  69. gansu-auth-parent/service-system/src/main/java/com/gansu/system/
  70. gansu-auth-parent/service-system/src/main/java/com/gansu/system/mapper/
  71. gansu-auth-parent/service-system/src/main/java/com/gansu/system/mapper/SysRoleMapper.java 266B
  72. gansu-auth-parent/service-system/src/main/java/com/gansu/system/service/
  73. gansu-auth-parent/service-system/src/main/java/com/gansu/system/ServiceAuthApplication.java 436B
  74. gansu-auth-parent/service-system/src/main/java/com/gansu/system/service/impl/
  75. gansu-auth-parent/service-system/src/main/java/com/gansu/system/service/impl/SysRoleServiceImpl.java 416B
  76. gansu-auth-parent/service-system/src/main/java/com/gansu/system/service/SysRoleService.java 206B
  77. gansu-auth-parent/service-system/src/main/resources/
  78. gansu-auth-parent/service-system/src/main/resources/application-dev.yml 466B
  79. gansu-auth-parent/service-system/src/main/resources/application.yml 87B
  80. gansu-auth-parent/service-system/src/test/
  81. gansu-auth-parent/service-system/src/test/java/
  82. gansu-auth-parent/service-system/src/test/java/com/
  83. gansu-auth-parent/service-system/src/test/java/com/gansu/
  84. gansu-auth-parent/service-system/src/test/java/com/gansu/system/
  85. gansu-auth-parent/service-system/src/test/java/com/gansu/system/SysRoleMapperTest.java 2.65KB
  86. gansu-auth-parent/service-system/src/test/java/com/gansu/system/SysRoleServiceTest.java 1.57KB
  87. gansu-auth-parent/service-system/target/
  88. gansu-auth-parent/service-system/target/classes/
  89. gansu-auth-parent/service-system/target/classes/application-dev.yml 466B
  90. gansu-auth-parent/service-system/target/classes/application.yml 87B
  91. gansu-auth-parent/service-system/target/classes/com/
  92. gansu-auth-parent/service-system/target/classes/com/gansu/
  93. gansu-auth-parent/service-system/target/classes/com/gansu/model/
  94. gansu-auth-parent/service-system/target/classes/com/gansu/model/base/
  95. gansu-auth-parent/service-system/target/classes/com/gansu/model/base/BaseEntity.class 4KB
  96. gansu-auth-parent/service-system/target/classes/com/gansu/model/system/
  97. gansu-auth-parent/service-system/target/classes/com/gansu/model/system/SysDept.class 5.53KB
  98. gansu-auth-parent/service-system/target/classes/com/gansu/model/system/SysLoginLog.class 3.83KB
  99. gansu-auth-parent/service-system/target/classes/com/gansu/model/system/SysMenu.class 6.76KB
  100. gansu-auth-parent/service-system/target/classes/com/gansu/model/system/SysOperLog.class 8.57KB
  101. gansu-auth-parent/service-system/target/classes/com/gansu/model/system/SysPost.class 3.28KB
  102. gansu-auth-parent/service-system/target/classes/com/gansu/model/system/SysRole.class 2.57KB
  103. gansu-auth-parent/service-system/target/classes/com/gansu/model/system/SysRoleMenu.class 2.26KB
  104. gansu-auth-parent/service-system/target/classes/com/gansu/model/system/SysUser.class 7.41KB
  105. gansu-auth-parent/service-system/target/classes/com/gansu/model/system/SysUserRole.class 2.26KB
  106. gansu-auth-parent/service-system/target/classes/com/gansu/model/vo/
  107. gansu-auth-parent/service-system/target/classes/com/gansu/model/vo/AssginMenuVo.class 2.35KB
  108. gansu-auth-parent/service-system/target/classes/com/gansu/model/vo/AssginRoleVo.class 2.35KB
  109. gansu-auth-parent/service-system/target/classes/com/gansu/model/vo/LoginVo.class 740B
  110. gansu-auth-parent/service-system/target/classes/com/gansu/model/vo/MetaVo.class 1.89KB
  111. gansu-auth-parent/service-system/target/classes/com/gansu/model/vo/RouterVo.class 3.86KB
  112. gansu-auth-parent/service-system/target/classes/com/gansu/model/vo/SysLoginLogQueryVo.class 2.44KB
  113. gansu-auth-parent/service-system/target/classes/com/gansu/model/vo/SysOperLogQueryVo.class 2.73KB
  114. gansu-auth-parent/service-system/target/classes/com/gansu/model/vo/SysPostQueryVo.class 2.32KB
  115. gansu-auth-parent/service-system/target/classes/com/gansu/model/vo/SysRoleQueryVo.class 659B
  116. gansu-auth-parent/service-system/target/classes/com/gansu/model/vo/SysUserQueryVo.class 3.75KB
  117. gansu-auth-parent/service-system/target/classes/com/gansu/system/
  118. gansu-auth-parent/service-system/target/classes/com/gansu/system/mapper/
  119. gansu-auth-parent/service-system/target/classes/com/gansu/system/mapper/SysRoleMapper.class 396B
  120. gansu-auth-parent/service-system/target/classes/com/gansu/system/service/
  121. gansu-auth-parent/service-system/target/classes/com/gansu/system/ServiceAuthApplication.class 815B
  122. gansu-auth-parent/service-system/target/classes/com/gansu/system/service/impl/
  123. gansu-auth-parent/service-system/target/classes/com/gansu/system/service/impl/SysRoleServiceImpl.class 710B
  124. gansu-auth-parent/service-system/target/classes/com/gansu/system/service/SysRoleService.class 321B
  125. gansu-auth-parent/service-system/target/generated-sources/
  126. gansu-auth-parent/service-system/target/generated-sources/annotations/
  127. gansu-auth-parent/service-system/target/generated-test-sources/
  128. gansu-auth-parent/service-system/target/generated-test-sources/test-annotations/
  129. gansu-auth-parent/service-system/target/test-classes/
  130. gansu-auth-parent/service-system/target/test-classes/com/
  131. gansu-auth-parent/service-system/target/test-classes/com/gansu/
  132. gansu-auth-parent/service-system/target/test-classes/com/gansu/system/
  133. gansu-auth-parent/service-system/target/test-classes/com/gansu/system/SysRoleMapperTest.class 3.22KB
  134. gansu-auth-parent/service-system/target/test-classes/com/gansu/system/SysRoleServiceTest.class 2.62KB
0评论
提交 加载更多评论
其他资源 数学(天津专用)-2025届新高三开学摸底考试卷.zip
数学(天津专用)-2025届新高三开学摸底考试卷.zip
数学(天津专用)-2025届新高三开学摸底考试卷.zip 数学(天津专用)-2025届新高三开学摸底考试卷.zip 数学(天津专用)-2025届新高三开学摸底考试卷.zip
基于PHP的水质管理系统(用户端、管理员端)
基于php、html、mysql、bootstrap、layui进行全栈式开发。项目完成了前端用户平台、后端管理员平台,以乡村水质检测为主题设立。项目用户页面包括“用户首页”、“关于我们”、“水质新闻”、“水质检测报告”四个模块。水质检测宣传、项目产品、项目服务、未来计划、项目团队、指导团队、成就展示、水质新闻展示、水质报告增删改查的各项功能。项目管理员页面包括“数据展示”、“用户管理”、“水域管理”三个模块。实现了后台数据库数据可视化展示、数据库全用户管理以及权限分配、水域分配以及管理的各项功能。项目登录登出与注册页面实现了用户和管理员权限区分,登录后进入不同平台的功能。 语言:php、html、css、javascript 工具:Wampserver、Mysql、Dreamever。 框架与样式库:bootstrap、echarts、jquery、layui、popper。
基于PHP的水质管理系统(用户端、管理员端) 基于PHP的水质管理系统(用户端、管理员端) 基于PHP的水质管理系统(用户端、管理员端)
中标麒麟7.6版本,离线安装nginx所需的所有依赖包和nignx压缩包
中标麒麟7.6版本,离线安装nginx所需的所有依赖包和nignx压缩包,依赖包涉及129个,看完教程可以完全离线安装。我碰壁很多次才安装成功的。
运维云计算-CentOS-阿里云yum镜像源配置文件
CentOS 操作系统的阿里云 YUM 镜像源,配置简单,解决默认国外镜像源无法连接的问题。速度稳定较快。帮大家找好了下载文件,直接自取,配置简单。绝佳适用于在阿里云环境中运行的 CentOS 服务器,其他服务器也可。 配置步骤: 1、解压后,将2文件传输到 `/etc/yum.repos.d/` 目录下。 这个目录存放了所有 YUM 源的配置文件,每个文件对应一个或多个软件仓库的配置。典型的配置文件会包含多个仓库配置块,每个块定义了仓库的名称、描述、基网址等信息。 2、登录到 CentOS 服务器,并进入 `/etc/yum.repos.d/` 目录。 3、执行缓存重建命令,如yum clean all 和 yum makecache即可。 4、可以正常下载文件了~
RANSAC 和最小二乘法实现雷达自我速度估计
github上的免费下载 雷达自我速度估计:使用 RANSAC 和最小二乘法的 C++ 实现 在自动驾驶和机器人领域,雷达传感器是一种重要的设备,用于检测物体的位置和速度。本文将介绍如何通过 C++ 代码实现雷达自我速度估计。我们的实现结合了 RANSAC(随机采样一致性算法)和最小二乘法,以在含噪声的数据中进行鲁棒的速度估计。 代码结构 本文的代码实现包含两个主要部分: estimate 函数:处理雷达扫描数据并进行速度估计。 solve3DFullRansac 和 solve3DFull 函数:使用 RANSAC 和最小二乘法进行速度估计。
novelreaderls.zip
novelreaderls.zip
thinkPHP付费资源网站源码 php视频课程网站源码 php知识付费网站源码
我是这个程序的创作者,也是开发者,源码支持永久升级更新。这个系统是独立开发的,不依赖任何建站程序,采用的是前后端分离开发,前端用的是nuxt+Ant Design,后端用的是thinkPHP6+MySQL+redis,有视频课程板块,可以在线观看。支持卡密功能,支持支付宝、微信和虎皮椒微信支付、支持用户入驻平台发布销售资源,平台从中收取服务费、微信扫码注册/登录、七牛云存储、阿里云短信接口、网易云短信接口、短信宝接口,自动推送链接给百度,有利于百度的收录。支持一键同步资源,免去搬运资源的烦恼,让建站更简单!还支持与WordPress之间数据同步 ,如果你现有WordPress的网站,可以一键把WordPress上的数据同步到本站,也可以把本站的数据同步到WordPress。这个系统适合做资源网站、视频课程网站和知识付费系统。
独家开发thinkPHP付费资源网站源码 php视频课程网站源码 php知识付费网站源码
分享一款不错的资源网站源码,这个源码100%开源,开发者提供了免费版的源码,这不是一个普通的资源网站,它还有课程板块,可以发布课程,课程支持视频和图文两种类型。这个系统是独立开发的,不依赖任何建站程序,采用的是前后端分离开发,前端用的是nuxt+Ant Design,后端用的是thinkPHP6+MySQL+redis,支持支付宝、微信和虎皮椒微信支付、支持用户入驻平台发布销售资源,有微信扫码注册/登录、七牛云存储、阿里云短信接口、网易云短信接口、短信宝接口。最适用的是提供了资源同步功能,不用一个一个的去找资源上传,直接一键同步资源到本地。支持与WordPress之间数据同步 ,如果你现有WordPress的网站,可以一键把WordPress上的数据同步到本站,也可以把本站的数据同步到WordPress。