摘要: 1、代码片段 /** * 获取角色已分配菜单列表 * @param xxxRoleId * @return RoleMenuList */ @ApiOperation(value = "获取角色已分配菜单列表") @GetMapping(value = "/getRoleMenuList/{aaaR 阅读全文
posted @ 2022-07-29 17:21 Code7Rain 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 1、代码片段 /** * 查询需要提醒检验的工具集合 */ @ApiOperation("查询需要提醒检验的工具集合") @GetMapping("/expireList") public AjaxResult expireList(ToolCase toolCase) { // 提前通知提醒的天数 阅读全文
posted @ 2022-07-29 17:21 Code7Rain 阅读(174) 评论(0) 推荐(0) 编辑
摘要: Mybatis-Plus 框架注解解析 1、@TableName注解 作用:表明实体类对应的数据库表 使用:在类名上使用,值为对应的表的表名 源码 package com.baomidou.mybatisplus.annotation; import java.lang.annotation.*; 阅读全文
posted @ 2022-07-29 17:21 Code7Rain 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 1、代码片段 Controller @RestController @RequestMapping("/system/user") public class SysUserController extends BaseController { @Log(title = "用户管理", busines 阅读全文
posted @ 2022-07-29 17:20 Code7Rain 阅读(1074) 评论(0) 推荐(0) 编辑
摘要: 1、问题 SQL 错误 [1055] [42000]: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'station.sw.name' which is not fu 阅读全文
posted @ 2022-07-29 17:01 Code7Rain 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 1、问题 JSON parse error: Cannot deserialize value of type longfrom String "1bbb": not a validlongvalue; nested exception is com.fasterxml.jackson.databi 阅读全文
posted @ 2022-07-29 17:00 Code7Rain 阅读(71) 评论(0) 推荐(0) 编辑