前期基本数据准备 数据库表可参考mybatisPlus官网快速开始的表(简单测试一下) POJO @Data @AllArgsConstructor @NoArgsConstructor public class User { //对应数据库中的主键(uuid,自增id,雪花算法,redis,zoo ...
分类:
其他好文 时间:
2021-04-08 13:01:23
阅读次数:
0
给定一个排序数组和一个目标值,在数组中找到目标值,并返回其索引。如果目标值不存在于数组中,返回它将会被按顺序插入的位置。 你可以假设数组中无重复元素。 示例 1: 输入: [1,3,5,6], 5 输出: 2 解析: 方法一: 使用for循环从小到大遍历,考虑边界值(位置为0和位置为len)。 只要 ...
分类:
其他好文 时间:
2021-04-08 12:56:58
阅读次数:
0
select 。。。 for update;排它锁,注意选中某几行 1.在PLSQL DEVELOPER中不会自动提交事务,insert update 后需要手动提交事务 2.oracle 中没有主键自增,主键使用sequence或者sysuuid, ||连接两个字段 3.伪列:列本身不存在,但是却 ...
分类:
数据库 时间:
2021-04-07 11:46:34
阅读次数:
0
Service/DAO层方法命名规约 1) 获取单个对象的方法用get做前缀。 2) 获取多个对象的方法用list做前缀,复数结尾,如:listObjects。 3) 获取统计值的方法用count做前缀。 4) 插入的方法用save/insert做前缀。 5) 删除的方法用remove/delete ...
分类:
其他好文 时间:
2021-04-06 14:35:02
阅读次数:
0
一、添加依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> <version>2.4.4</version> </depen ...
分类:
编程语言 时间:
2021-04-06 14:26:35
阅读次数:
0
Shortcut Keys Configure Summary You can use shortcut keys to quickly insert or modify styles or do other operations supported by Typora. You can find ...
分类:
其他好文 时间:
2021-04-06 14:21:02
阅读次数:
0
本文已整理致我的 github 地址 https://github.com/allentofight/easy-cs,欢迎大家 star 支持一下 前言 近年来公司业务迅猛发展,数据量爆炸式增长,随之而来的的是海量数据查询等带来的挑战,我们需要数据量在十亿,甚至百亿级别的规模时依然能以秒级甚至毫秒级 ...
分类:
其他好文 时间:
2021-04-05 12:21:59
阅读次数:
0
复制: 鼠标选中就复制了 粘贴: 粘贴到xterm里面 shift+Insert; 粘贴到其他应用 shift + 鼠标滚轮; https://askubuntu.com/questions/237942/how-does-copy-paste-work-with-xterm ...
分类:
其他好文 时间:
2021-04-02 13:34:34
阅读次数:
0
记录编译开始时间(自己的脚本一定要放在最前面,否则项目不会使用修改完成后的内容) # Type a script or drag a script file from your workspace to insert its path. app_build_time_path=${SRCROOT}/ ...
分类:
移动开发 时间:
2021-04-02 13:04:47
阅读次数:
0
/* 总结:stl里数据结构,如hash(unordered_set\map),queue,deque,priority_queue,stack 主要会用以上数据结构的成员函数,empty(),count(),insert(),push(),push_back(),front(),top(),bac ...
分类:
其他好文 时间:
2021-03-30 13:58:40
阅读次数:
0