摘要: 一、汉字utf-8 转gbk排序 ORDER BY CONVERT(city_name USING gbk) 二、获取词语拼音首字母 创建函数 CREATE FUNCTION `firstPinyin`(P_NAME VARCHAR(255)) RETURNS varchar(255) CHARSE 阅读全文
posted @ 2020-05-13 19:21 毁乐乖狂,自有诪张 阅读(830) 评论(0) 推荐(0) 编辑
摘要: 菜鸟教程 - Linux 命令大全 id 命令:查看当前用户 一、ls ll -hSr ll = ls -l -a 显示所有文件及目录 (ls内定将文件名或目录名称开头为"."的视为隐藏档,不会列出) -l 除文件名称外,亦将文件型态、权限、拥有者、文件大小等资讯详细列出 -r 将文件以相反次序显示 阅读全文
posted @ 2020-01-15 19:57 毁乐乖狂,自有诪张 阅读(618) 评论(0) 推荐(0) 编辑
摘要: 一、报错: java.nio.file.InvalidPathException: Illegal char <:> at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182) at sun.nio.fs.Windows 阅读全文
posted @ 2020-01-11 17:07 毁乐乖狂,自有诪张 阅读(9476) 评论(0) 推荐(0) 编辑
摘要: 一、百度提供的工具类 1.HttpUtil package com.baidu.ai.aip.utils; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.InputStreamReader 阅读全文
posted @ 2020-01-08 18:52 毁乐乖狂,自有诪张 阅读(839) 评论(0) 推荐(0) 编辑
摘要: 一、编程式事务辅助类 @Component public class TxHelper { @Autowired private PlatformTransactionManager tx; public TransactionStatus start() { DefaultTransactionD 阅读全文
posted @ 2020-01-08 10:28 毁乐乖狂,自有诪张 阅读(561) 评论(0) 推荐(0) 编辑
摘要: 依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> <exclusions> <exclus 阅读全文
posted @ 2020-01-02 10:51 毁乐乖狂,自有诪张 阅读(964) 评论(0) 推荐(0) 编辑
摘要: SELECT INTO 语句 复制表结构、数据 MySQL不支持`SELECT * INTO target_table FROM`语句进行复制(无论目标表存在与否) -- 复制表结构及数据到新表 CREATE TABLE 新表 SELECT * FROM 旧表 -- Statement violat 阅读全文
posted @ 2019-12-27 19:35 毁乐乖狂,自有诪张 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 依赖 spring-boot-starter-web 版本2.x中早期依赖有 `hibernate-validator`,后被移出。 使用验证需另外引入依赖: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>s 阅读全文
posted @ 2019-12-26 19:28 毁乐乖狂,自有诪张 阅读(2130) 评论(0) 推荐(0) 编辑
摘要: package cc.ash; import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.StringUtils; import org.springframework.util.ObjectUtils; 阅读全文
posted @ 2019-12-25 12:41 毁乐乖狂,自有诪张 阅读(497) 评论(0) 推荐(0) 编辑
摘要: windows下载 github地址 : https://github.com/MicrosoftArchive/redis/releases #设置内存 redis-server.exe redis.windows.conf --maxmemory 200M 将redis加入到windows的服务 阅读全文
posted @ 2019-12-23 18:39 毁乐乖狂,自有诪张 阅读(681) 评论(0) 推荐(0) 编辑