demo
未读
Mybatis-Plus 代码生成器
官网:Mybatis-Plus 新版 1. 旧版 1.1 引用pom <!-- JDK 1.8 / 11 -->
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>my
异常
未读
异常:初始化Ant Design pro,'pro' 不是内部或外部命令
1. 解决方案 npx pro create myapp 1.1 效果 2. 关于 版本问题 当前新版本不再选择umi版本,默认提供umi4作为脚手架 umi4 不支持u
demo
未读
Mysql 累计 sum() over()
1. 伪SQL partition by 分组 order by 排序 -- > 累计 select
str_1,
str_2,
sum(str_2) over( partition by str_1
order by str_1)
from table 2. 数据示例
demo
未读
Mysql 行转列、列转行
1. 行转列 1.1 伪 SQL
select 分组列,
聚合函数(case 转换列 when 转换列值1 then 数据列 else .... end) as 列名1,
聚合函数(case 转换列 when 转换列值2 then 数据列 else .... end) as
demo
未读
Mysql decimal 字段排序
1. 数字 *1 / +0 select * from table where 1 order by id*1 desc;
select * from table where 1 order by id+0 desc; 2. 自定义 FIND_IN_SET 按照指定的元素顺序进行排序。 SELEC