kenx kenx
4年前
个人博客开发之blog-api项目整合MyBatisPlus代码自动生成CURD
整合MybatisPlus导入依赖xml<!mysql<dependency<groupIdmysql</groupId<artifactIdmysqlconnectorjava</artifactId<scoperuntime</scope
peter peter
4年前
mysql 修改表或表结构常用sql语句
批量修改表名的sql语句altertableold_namerenamenew_name;修改表名altertabletestaddcolumnadd_namevarchar(10);添加表列altertabletestdropcolumndel_name;删除表列altertabletestm
Stella981 Stella981
4年前
SpringBoot获取Freemarker模板引擎,生成HTML代码
今天用Ajax异步添加评论,加载Freemarker模板引擎,生成模板模块1.新建Freemarker模板<liid"${comment.oId}"<div<divclass"avatartooltippedtooltippedn"ariala
Stella981 Stella981
4年前
HashMap 简单总结
packagetest;importjava.util.\;publicclassText{publicstaticvoidmain(String\\args){//这里我们说一下hashmap和迭代问题HashMaphsnewHashMap();//向其中添加数据(key,value),
Wesley13 Wesley13
4年前
Using the New MySQL Query Profiler
原文来自:http://dev.mysql.com/techresources/articles/usingnewqueryprofiler.htmlOneofthegreatthingsaboutMySQListhesuperiorinnovationmodelthat’susedtodeliverdataba
Stella981 Stella981
4年前
Electron构建、打包总结
提示:Applicationentryfile"main.js"doesnotexist解决:package.json中的build模块,添加files"files":"./index.html","./main.js","./package.json
Stella981 Stella981
4年前
InnoDB Infrastructure Cleanup
HereisamorecompleteanswerwithregardtoInnoDB.Itisabitofalengthyprocess,butcanbeworththeeffort.Keepinmindthat/var/lib/mysql/ibdata1isthebusiest
Wesley13 Wesley13
4年前
HTTP请求超时时间导致的请求长时间等待
netstatn|awk'/^tcp/{S\$NF\}END{for(ainS)printa,S\a\}'!(https://img2018.cnblogs.com/blog/1069298/201903/106929820190329000339069206437991.png)发送http请求需要添加
Stella981 Stella981
4年前
Spring Boot 动态数据源(yml配置,多数据源自动切换)
1、在启动类添加注解,注册动态多数据源:@SpringBootApplication@Import({DynamicDataSourceRegister.class})//注册动态多数据源publicclassOrangeplusApplicationextendsWebMvcConfigurerAdapt
贾蔷 贾蔷
6个月前
邻接表实现指南:图结构的链表存储方式
一、简介和特点邻接表是一种常用的图存储结构,它使用链表来表示图中顶点之间的邻接关系。本文实现的邻接表类可以高效地表示稀疏图,并支持动态添加顶点和边。‌主要特点‌:空间效率:特别适合存储稀疏图动态扩展:可以灵活添加顶点和边直观表示:直接反映图的连接关系权重支