会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
懂得归零
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
13
下一页
2022年5月25日
字典表中的数据定义为枚举
摘要: import com.baomidou.mybatisplus.annotation.EnumValue;import com.fasterxml.jackson.annotation.JsonCreator;import com.fasterxml.jackson.annotation.JsonV
阅读全文
posted @ 2022-05-25 18:49 懂得归零
阅读(163)
评论(0)
推荐(0)
2022年5月20日
Mybatis plus临时禁用分页功能
摘要: 将传入的page参数的pageSize设为 -1 即可 Page page = new Page();page.setSize(-1); 搜索 复制
阅读全文
posted @ 2022-05-20 16:26 懂得归零
阅读(1023)
评论(0)
推荐(0)
2022年5月17日
excel导入
摘要: 1、引入poi依赖 <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>4.1.2</version></dependency> 2、接口实现 @PostMapping("/impo
阅读全文
posted @ 2022-05-17 14:48 懂得归零
阅读(129)
评论(0)
推荐(0)
excel模板下载,替换指定内容
摘要: 1、引入poi依赖 <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>4.1.2</version></dependency>2、 2、自定义相关实体 import io.swag
阅读全文
posted @ 2022-05-17 14:03 懂得归零
阅读(470)
评论(0)
推荐(0)
2022年4月18日
idea制作异常测试事务回滚
摘要:
阅读全文
posted @ 2022-04-18 09:29 懂得归零
阅读(48)
评论(0)
推荐(0)
2022年3月31日
PostgreSQL中update与select联合更新
摘要: UPDATE del aset name= fd.locfrom fzx_disease fd where a.id = fd."id" and fd.id = '72d22385291c484384cb41d0cb786c9a'
阅读全文
posted @ 2022-03-31 10:06 懂得归零
阅读(1542)
评论(0)
推荐(0)
2022年3月24日
insert语法升级
摘要: INSERT INTO fzx.fzx_patrolgeo (id,geo) SELECT uuid_generate_v4(),geo FROM fzx.fzx_patrolgeo where id = 'be2313ec-07fb-495d-ab76-32f9280faad9'
阅读全文
posted @ 2022-03-24 11:20 懂得归零
阅读(31)
评论(0)
推荐(0)
PostgreSQL生成36位唯一id
摘要: 1、新建函数 uuid_generate_v4() 2、具体内容 CREATE OR REPLACE FUNCTION "public"."uuid_generate_v4"() RETURNS "pg_catalog"."uuid" AS '$libdir/uuid-ossp', 'uuid_ge
阅读全文
posted @ 2022-03-24 11:17 懂得归零
阅读(1729)
评论(0)
推荐(0)
2022年3月10日
Easyui数据网格的单元格合并
摘要: $('#dg').datagrid({ url: '', queryParams: formToObject('.searchBox'), columns: [[ {field: 'itemid', title: '养护单位', align: 'center'}, {field: 'producti
阅读全文
posted @ 2022-03-10 14:57 懂得归零
阅读(186)
评论(0)
推荐(0)
2022年1月26日
0-9999999999999之间long类型的数值转换为长度为8的字符串(62进制)
摘要: import org.apache.commons.lang3.StringUtils; import java.util.logging.Level;import java.util.logging.Logger; /** * 0 - 9999999999999 */public class Te
阅读全文
posted @ 2022-01-26 08:55 懂得归零
阅读(191)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
13
下一页
公告