11 2022 档案
crudpro
摘要:1. TODO 接口聚合 阅读全文
posted @ 2022-11-15 20:46 袜子破了 阅读(39) 评论(1) 推荐(0)
java表达式语言mvel2/ognl/spring-expression
摘要:<!-- https://mvnrepository.com/artifact/org.mvel/mvel2 --><dependency> <groupId>org.mvel</groupId> <artifactId>mvel2</artifactId> <version>2.4.14.Fina 阅读全文
posted @ 2022-11-10 12:08 袜子破了 阅读(146) 评论(1) 推荐(0)
MySQL 列定义的类型是varchar,已建立索引,查询时如果传入的是数字,则无法利用索引,查询特别慢。
摘要:类型不对,导致无法充分利用索引。 比如:select * from table_name_xxx where name = "1234"; 查询很快 ,能够使用到name的索引 比如:select * from table_name_xxx where name = 1234; 查询特别慢,无法使用 阅读全文
posted @ 2022-11-08 10:32 袜子破了 阅读(265) 评论(0) 推荐(0)
java中带回调函数的字符串替换,类似js中的replace(rgExp,function)
摘要:https://blog.csdn.net/weixin_33834075/article/details/91599852 import java.util.regex.Matcher; import java.util.regex.Pattern; public class TestRegExp 阅读全文
posted @ 2022-11-07 17:07 袜子破了 阅读(129) 评论(0) 推荐(0)