jshfsym42's recent timeline updates
jshfsym42

jshfsym42

V2EX member #679343, joined on 2024-03-08 09:59:38 +08:00
jshfsym42's recent replies
Sep 15, 2025
Replied to a topic by zengdan2024 职场话题 不想打工了,想搞一人公司
一人公司主要看能不能接到活吧?
因为啤酒里面有二氧化碳?下次试试可乐
"(我想了很多文案,但都不及烟花浪漫)"这句话本身已经够浪漫了
不上架不能用系统离线推送
看有的功能对我还挺实用的,血亏,都开发完了才看到=、=
bXIxOWpzaDQy
Apr 16, 2024
Replied to a topic by I2E MySQL 求助 mysql 查询优化
第二条 SQL 匹配的行数太多了,MySQL 执行器认为不如全盘扫描;可以看看这个。
https://dev.mysql.com/doc/refman/8.0/en/table-scan-avoidance.html
You are using a key with low cardinality (many rows match the key value) through another column. In this case, MySQL assumes that by using the key probably requires many key lookups and that a table scan would be faster.
@Mrzhs 我的理解是,以时间范围查询为例,在实体类的字段上标注解,指示当前字段用于范围查询
@RangeQuery
private Date expireDate;
前端直接 get 请求传实体类名 queryEntity ,和开始截止时间 startDate,endDate
解析实体类名,拿到实体类,解析到实体类哪个字段有 @RangeQuery 注解用于时间范围查询,根据前端的开始截止时间拼接 wrapper 。
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1169 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 17:47 · PVG 01:47 · LAX 10:47 · JFK 13:47
♥ Do have faith in what you're doing.