摘要: 在工作中,可能会碰到多个数据随机组合搜索的情况,解决方案如下: 新建类XXXSqlProvider: public class XXXSqlProvider{ public String getSearchInfoResultList(Map<String,Object> map){ String 阅读全文
posted @ 2017-10-31 11:19 Ericzya 阅读(315) 评论(0) 推荐(0) 编辑
摘要: 一、校验数字的表达式 • 数字:^[0-9]*$ • n位的数字:^\d{n}$ • 至少n位的数字:^\d{n,}$ • m-n位的数字:^\d{m,n}$ • 只能输入一位数字:^\d$ • 零和非零开头的数字:^(0|[1-9][0-9]*)$ • 非零开头的最多带两位小数的数字:^([1-9 阅读全文
posted @ 2017-10-31 11:01 Ericzya 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 错误如下:Template might not exist or might not be accessible by any of the configured Template Resolvers 错误原因:访问的模板不存在或者任何解析器都无法访问该模板(错误为500) 解决方案:1.检查访问的 阅读全文
posted @ 2017-10-31 10:54 Ericzya 阅读(914) 评论(0) 推荐(0) 编辑