
操作手册
jsdBart
这个作者很懒,什么都没留下…
展开
-
springboot 请求List<object>和返回List<Object>,已经json转换
这里写自定义目录标题Springboot 接收List结果集Springboot 接受List请求参数最基本的string类型的json字符串转为List对象Springboot 接收List结果集restTemplate 发送Post请求,服务端返回的是List ResponseEntity<sob[]> responseEntity = this.get().postForEntity(url, requestEntity, sob[].class); S原创 2020-12-15 22:52:22 · 2216 阅读 · 0 评论 -
操作手册-安全切分List,redis分布式锁,hive翻页
hive 分页select * from ( select *,row_number() over (order by xxx_ID ) rm from 库名.表名 ) a where rm between 1 and 1000redis 分布式锁(redis 集群不可用)@AutowiredStringRedisTemplate stringRedisTemplate;private static final String RELEASE_LOCK_SCRIPT=" if redis.call原创 2020-08-12 11:24:44 · 132 阅读 · 0 评论