摘要:
背景:通过模糊查询到的结果,精准值排在后面 解决:通过调整字段排序 select * from user where 1=1 <if test="keyword != null and keyword != ''"> and name like concat('%', #{keyword}, '%' 阅读全文
摘要:
背景:mysql查询性能瓶颈,一般前提有很多查询超时导致这个问题 java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was 阅读全文