上一页 1 2 3 4 5 6 7 8 ··· 32 下一页
摘要: spring mvc 的 controller,对于一个非常耗时的处理,让 controller 先异步返回响应给前端,后台继续慢慢执行完。 @RequestMapping(value = "refreshScore.do", method = RequestMethod.POST) public 阅读全文
posted @ 2022-11-10 15:05 moonsoft 阅读(233) 评论(0) 推荐(0)
摘要: rank()over(order by 列名排序) 的结果是不连续的,如果有4个人,其中有3个是并列第1名,那么最后的排序结果结果如:1 1 1 4 rank()over(order by 列名排序) select scoreid, studentid,COURSENAME,totalexamsco 阅读全文
posted @ 2022-11-10 14:32 moonsoft 阅读(352) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/qq1445496485/p/15895620.html 阅读全文
posted @ 2022-10-21 11:57 moonsoft 阅读(22) 评论(0) 推荐(0)
摘要: 排序不正确写法: List<Map<String,Object>> sortList2 = list.stream().sorted((o1, o2) -> { if (o1.get("DAY_ACTUAL").toString().compareTo(o2.get("DAY_ACTUAL").to 阅读全文
posted @ 2022-10-21 10:51 moonsoft 阅读(91) 评论(0) 推荐(0)
摘要: 高清多媒体接口(High Definition Multimedia Interface,HDMI ) 可以发送未压缩的音频及视频信号 阅读全文
posted @ 2022-09-28 11:27 moonsoft 阅读(218) 评论(0) 推荐(0)
摘要: SQL模糊查询的时候,如果字段中有%,我们又希望查找出所有有%的字段,使用select * from table where name like '%%%'类似的语句是不行的。这时候我们可以使用select * from table where name like '%[%]%。 阅读全文
posted @ 2022-09-19 18:09 moonsoft 阅读(369) 评论(0) 推荐(0)
摘要: select * from temp where num1 like '%\%%' escape '\'; 阅读全文
posted @ 2022-09-19 17:59 moonsoft 阅读(218) 评论(0) 推荐(0)
摘要: 数据库在通过连接两张或多张表来返回记录时,都会生成一张中间的临时表,然后再将这张临时表返回给用户。 在使用 left join 时,on 和 where 条件的区别如下: 1、on 条件是在生成临时表时使用的条件,它不管 on 中的条件是否为真,都会返回左边表中的记录。 2、where 条件是在临时 阅读全文
posted @ 2022-09-15 11:37 moonsoft 阅读(118) 评论(0) 推荐(0)
摘要: 1.fork-join和Map-Reduce模式基本一致2.区别:一个是分布式的,一个是单机的 阅读全文
posted @ 2022-09-06 20:42 moonsoft 阅读(37) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-09-06 09:36 moonsoft 阅读(18) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 32 下一页