05 2022 档案

摘要:mysql指令基操 登录 # mysql (-h)-u 用户名 -p 用户密码 # 输入以下指令,回车后输入密码 mysql -u root -p 增加用户 # grant 权限 on 数据库.* to 用户名@登录主机 identified by "密码" grant select,insert, 阅读全文
posted @ 2022-05-30 21:15 itwetouch 阅读(22) 评论(0) 推荐(0) 编辑
摘要:命令 SCAN cursor [MATCH pattern] [COUNT count] scan 0 MATCH key* COUNT 1 其他 SCAN 命令用于迭代当前数据库中的数据库键 SSCAN 命令用于迭代集合键(Set)中的元素 HSCAN 命令用于迭代哈希键(Hash)中的键值对 Z 阅读全文
posted @ 2022-05-27 14:42 itwetouch 阅读(36) 评论(0) 推荐(0) 编辑
摘要:java自定义sql占位符替换工具 PlaceholderParse /** * 自定义sql占位符替换工具 * * @author ming * @version 1.0.0 * @date 2022/5/25 16:40 **/ public class PlaceholderParse { p 阅读全文
posted @ 2022-05-27 10:49 itwetouch 阅读(883) 评论(0) 推荐(0) 编辑
摘要:CardDao.java import com.example.domain.card.Card; /** * 卡片 Dao接口 * * @author ming * @version 1.0.0 * @date 2022-05-20 11:23:01 **/ public interface Ca 阅读全文
posted @ 2022-05-24 15:42 itwetouch 阅读(86) 评论(0) 推荐(0) 编辑
摘要:优质开源项目收录 JApiDocs接口文档 git: https://github.com/YeDaxia/JApiDocs 文档: https://japidocs.agilestudio.cn/ 低代码 https://wwa.lanzoui.com/b0cwp2nte https://gith 阅读全文
posted @ 2022-05-18 19:06 itwetouch 阅读(187) 评论(0) 推荐(0) 编辑
摘要:使用SQL查询所有数据库名、表名和表字段名 MySQL中查询所有数据库名和表名 1.查询所有数据库 show databases; 2.查询指定数据库中所有表名 select table_name from information_schema.tables where table_schema=' 阅读全文
posted @ 2022-05-14 02:14 itwetouch 阅读(1861) 评论(0) 推荐(0) 编辑
摘要:spring-boot日志框架漏洞修复 版本问题 低于2.6.2的版本都存在log4j注入漏洞 方案一Log4j2 排除spring-boot-starter中的默认logging依赖 <dependency> <groupId>org.springframework.boot</groupId> 阅读全文
posted @ 2022-05-11 12:55 itwetouch 阅读(507) 评论(0) 推荐(0) 编辑
摘要:Mybatis-plus配置逻辑删除 全局生效的逻辑删除配置 mybatis-plus: global-config: db-config: # 全局逻辑删除配置 logic-delete-field: valid # 全局逻辑删除的实体字段名 # 若逻辑已删除和未删除的值和默认值一样,则可以不配置 阅读全文
posted @ 2022-05-09 17:02 itwetouch 阅读(846) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示